]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
workflow: add sfc playground build script [ci skip]
authorEvan You <yyx990803@gmail.com>
Sun, 28 Mar 2021 05:40:51 +0000 (01:40 -0400)
committerEvan You <yyx990803@gmail.com>
Sun, 28 Mar 2021 05:40:56 +0000 (01:40 -0400)
package.json

index 6483321009ef5b117cf64bc86537123cbabf4e25..604e63eef3a5a9336abd37f40b37181aed15f061 100644 (file)
@@ -18,7 +18,8 @@
     "dev-compiler": "npm-run-all --parallel \"dev template-explorer\" serve",
     "serve": "serve",
     "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",
   "tsd": {