Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rushi committed Nov 2, 2023
1 parent 0a6d9ff commit a1cc1f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"module": "build/ui-kit.mjs",
"types": "index.d.ts",
"scripts": {
"prepare": "node scripts/prepare",
"prepare": "node scripts/prepare && vite build",
"start": "npm run storybook",
"dev": "npm run storybook",
"storybook": "storybook dev -p 6006 --no-open",
Expand Down
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const devDependencies = Object.keys(pkg.devDependencies);
export default defineConfig({
build: {
outDir: "build",
copyPublicDir: false,

lib: {
entry: path.resolve(__dirname, "src/index.js"),
Expand Down

0 comments on commit a1cc1f9

Please sign in to comment.