Skip to content

Commit 4326f05

Browse files
committed
Add publish build command
1 parent c99980c commit 4326f05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
},
1212
"scripts": {
1313
"dev": "vite",
14+
"build": "npm run build:esm && npm run build:esm",
1415
"build:iife": "vite build",
1516
"build:esm": "vite --config vite.config.esm.js build",
16-
"preview": "vite preview"
17+
"preview": "vite preview",
18+
"publish": "npm build"
1719
},
1820
"devDependencies": {
1921
"vite": "^3.0.0"

0 commit comments

Comments
 (0)