diff --git a/playground/app.tsx b/playground/app.tsx index 824f3c1..a518bbb 100644 --- a/playground/app.tsx +++ b/playground/app.tsx @@ -1,17 +1,12 @@ import React from 'react' -import { SingleDatePicker, SingleWeekPicker } from "../src/index" +import { SingleDatePicker, SingleWeekPicker } from "../dist/index.es" import './app.scss' export default () => { return (
-
- -
-
- -
+
) } \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index e510078..a316356 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -11,6 +11,7 @@ export default defineConfig(({mode}) => ({ name: "datenel-react", fileName: format => `index.${format}.js`, }, + sourcemap: true, rollupOptions: { preserveEntrySignatures: "strict", external: ["react"],