Skip to content

Commit 950a950

Browse files
committed
workflow: tweak sfc playground build script
1 parent 75c25fe commit 950a950

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
@@ -19,7 +19,8 @@
1919
"serve": "serve",
2020
"open": "open http://localhost:5000/packages/template-explorer/local.html",
2121
"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"
22+
"prebuild-sfc-playground": "node scripts/build.js compiler shared -af cjs && node scripts/build.js runtime reactivity shared -af esm-bundler && node scripts/build.js vue -f esm-bundler-runtime && node scripts/build.js vue -f esm-browser-runtime && node scripts/build.js compiler-sfc -f esm-browser",
23+
"build-sfc-playground": "cd packages/sfc-playground && vite build"
2324
},
2425
"types": "test-dts/index.d.ts",
2526
"tsd": {

0 commit comments

Comments
 (0)