workflow: tweak sfc playground build script

This commit is contained in:
Evan You 2021-03-28 02:08:27 -04:00
parent 75c25fe985
commit 950a950ae9

View File

@ -19,7 +19,8 @@
"serve": "serve",
"open": "open http://localhost:5000/packages/template-explorer/local.html",
"preinstall": "node ./scripts/checkYarn.js",
"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"
"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",
"build-sfc-playground": "cd packages/sfc-playground && vite build"
},
"types": "test-dts/index.d.ts",
"tsd": {