workflow: add sfc playground build script [ci skip]

This commit is contained in:
Evan You 2021-03-28 01:40:51 -04:00
parent f76ddc5ac3
commit 75c25fe985

View File

@ -18,7 +18,8 @@
"dev-compiler": "npm-run-all --parallel \"dev template-explorer\" serve", "dev-compiler": "npm-run-all --parallel \"dev template-explorer\" serve",
"serve": "serve", "serve": "serve",
"open": "open http://localhost:5000/packages/template-explorer/local.html", "open": "open http://localhost:5000/packages/template-explorer/local.html",
"preinstall": "node ./scripts/checkYarn.js" "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"
}, },
"types": "test-dts/index.d.ts", "types": "test-dts/index.d.ts",
"tsd": { "tsd": {