Skip to content

Commit 75c25fe

Browse files
committed
workflow: add sfc playground build script [ci skip]
1 parent f76ddc5 commit 75c25fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"dev-compiler": "npm-run-all --parallel \"dev template-explorer\" serve",
1919
"serve": "serve",
2020
"open": "open http://localhost:5000/packages/template-explorer/local.html",
21-
"preinstall": "node ./scripts/checkYarn.js"
21+
"preinstall": "node ./scripts/checkYarn.js",
22+
"build-sfc-playground": "node scripts/build.js vue -df esm-browser && node scripts/build.js compiler-sfc -f esm-browser && cd packages/sfc-playground && vite build"
2223
},
2324
"types": "test-dts/index.d.ts",
2425
"tsd": {

0 commit comments

Comments
 (0)