From 691da83d46838e75d2e3be8bf45141a83a35d5ab Mon Sep 17 00:00:00 2001 From: patak Date: Fri, 18 Feb 2022 17:33:54 +0100 Subject: [PATCH] chore: fix publish, build vite before plugin-react and plugin-vue (#6988) --- packages/plugin-vue/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-vue/package.json b/packages/plugin-vue/package.json index 59d06972..330de6f3 100644 --- a/packages/plugin-vue/package.json +++ b/packages/plugin-vue/package.json @@ -16,7 +16,7 @@ "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", "patch-dist": "ts-node ../../scripts/patchEsbuildDist.ts dist/index.js vuePlugin", "build-types": "tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp", - "prepublishOnly": "npm run build" + "prepublishOnly": "(cd ../vite && npm run build) && npm run build" }, "engines": { "node": ">=12.0.0"