Skip to content

Commit 502b8f2

Browse files
authored
fix: plugin-vue dev scripts error in ssr-vue (#5607)
1 parent 022db52 commit 502b8f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/plugin-vue/package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"main": "dist/index.js",
1010
"types": "dist/index.d.ts",
1111
"scripts": {
12-
"dev": "tsc -p . -w --incremental",
12+
"dev": "rimraf dist && run-p dev-types dev-watch",
13+
"dev-types": "tsc -p . -w --incremental --emitDeclarationOnly",
14+
"dev-watch": "esbuild src/index.ts --watch --bundle --platform=node --target=node12 --external:@vue/compiler-sfc --external:vue/compiler-sfc --external:vite --outfile=dist/index.js",
1315
"build": "rimraf dist && run-s build-bundle build-types",
1416
"build-bundle": "esbuild src/index.ts --bundle --platform=node --target=node12 --external:@vue/compiler-sfc --external:vue/compiler-sfc --external:vite --outfile=dist/index.js",
1517
"build-types": "tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp",

0 commit comments

Comments
 (0)