diff --git a/package.json b/package.json index eccbd11..df91473 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@mrados7/shadcn-components", "private": false, - "version": "0.0.14", + "version": "0.0.15", "type": "module", "scripts": { "dev": "vite", @@ -24,6 +24,7 @@ "publishConfig": { "registry": "https://npm.pkg.github.com" }, + "sideEffects": false, "dependencies": { "@radix-ui/react-alert-dialog": "^1.1.1", "@radix-ui/react-slot": "^1.1.0", diff --git a/tsconfig.app.tsbuildinfo b/tsconfig.app.tsbuildinfo index 93cada6..4f17488 100644 --- a/tsconfig.app.tsbuildinfo +++ b/tsconfig.app.tsbuildinfo @@ -1 +1 @@ -{"root":["./src/main.ts","./src/vite-env.d.ts","./src/components/ui/alert-dialog.tsx","./src/components/ui/button.tsx","./src/lib/utils.ts"],"version":"5.6.2"} \ No newline at end of file +{"root":["./src/main.ts","./src/vite-env.d.ts","./src/components/ui/alert-dialog.tsx","./src/components/ui/badge.tsx","./src/components/ui/button.tsx","./src/components/ui/carousel.tsx","./src/lib/utils.ts"],"version":"5.6.2"} \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index c349a0d..c5350f3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -32,7 +32,8 @@ export default defineConfig({ external: ['react', 'react/jsx-runtime', 'tailwindcss'], output: { assetFileNames: 'assets/[name][extname]', - entryFileNames: '[name].js' + entryFileNames: '[name].js', + preserveModules: true }, } },