Skip to content

Commit 691da83

Browse files
authored
chore: fix publish, build vite before plugin-react and plugin-vue (#6988)
1 parent 4d8f246 commit 691da83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-vue/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"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 & npm run patch-dist",
1717
"patch-dist": "ts-node ../../scripts/patchEsbuildDist.ts dist/index.js vuePlugin",
1818
"build-types": "tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp",
19-
"prepublishOnly": "npm run build"
19+
"prepublishOnly": "(cd ../vite && npm run build) && npm run build"
2020
},
2121
"engines": {
2222
"node": ">=12.0.0"

0 commit comments

Comments
 (0)