Skip to content

Commit 81272bf

Browse files
committed
chore: update stackblitz config, only build before publish
1 parent f554c89 commit 81272bf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.stackblitzrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"installDependencies": true,
3+
"startCommand": "pnpm serve"
4+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build:demo": "vue-cli-service build",
1313
"docs": "node ./scripts/docs.js",
1414
"postinstall": "node ./scripts/postinstall.js",
15-
"prepare": "pnpm run build"
15+
"prepublishOnly": "pnpm run build"
1616
},
1717
"main": "dist/index.cjs.min.js",
1818
"module": "dist/index.esm.min.js",

0 commit comments

Comments
 (0)