Skip to content

Commit

Permalink
v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Dec 15, 2024
1 parent d504f48 commit 8c957fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"start": "cosmos",
"build": "bun run build:lib",
"build:lib": "bun run build:css && bun run build:cli && bun run build:standalone",
"build:lib": "bun run build:standalone && bun run build:css && bun run build:cli",
"build:css": "bun run scripts/build-css.ts",
"build:site": "cosmos-export",
"build:cli": "vite build",
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ if (process.env.STANDALONE) {
lib: {
entry: resolve(__dirname, "src/main.tsx"),
name: "standalone",
fileName: "standalone",
fileName: (format) => `standalone.min.js`,
formats: ["umd"],
},
minify: true,
}
}

Expand Down

0 comments on commit 8c957fa

Please sign in to comment.