We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 022db52 commit 502b8f2Copy full SHA for 502b8f2
packages/plugin-vue/package.json
@@ -9,7 +9,9 @@
9
"main": "dist/index.js",
10
"types": "dist/index.d.ts",
11
"scripts": {
12
- "dev": "tsc -p . -w --incremental",
+ "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",
15
"build": "rimraf dist && run-s build-bundle build-types",
16
"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",
17
"build-types": "tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp",
0 commit comments