File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1818 "build-bundle" : " esbuild src/index.ts --bundle --platform=node --target=node12 --external:@babel/* --external:@rollup/* --external:resolve --external:react-refresh/* --outfile=dist/index.js && npm run patch-dist" ,
1919 "patch-dist" : " ts-node ../../scripts/patchEsbuildDist.ts dist/index.js viteReact" ,
2020 "build-types" : " tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp" ,
21- "prepublishOnly" : " npm run build"
21+ "prepublishOnly" : " (cd ../vite && npm run build) && npm run build"
2222 },
2323 "engines" : {
2424 "node" : " >=12.0.0"
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments