ci: fix size on ci
This commit is contained in:
parent
f27a98becc
commit
4886a63d82
@ -9,7 +9,7 @@
|
||||
"build": "node scripts/build.js",
|
||||
"size": "run-s size-global size-baseline",
|
||||
"size-global": "node scripts/build.js vue runtime-dom -f global -p",
|
||||
"size-baseline": "node scripts/build.js vue runtime-dom runtime-core reactivity shared -f esm-bundler && cd packages/size-check && vite build",
|
||||
"size-baseline": "node scripts/build.js runtime-dom runtime-core reactivity shared -f esm-bundler && cd packages/size-check && vite build",
|
||||
"lint": "eslint --ext .ts packages/*/src/**.ts",
|
||||
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
|
||||
"test": "node scripts/build.js vue -f global -d && jest --runInBand",
|
||||
|
@ -1,4 +1,9 @@
|
||||
export default {
|
||||
resolve: {
|
||||
alias: {
|
||||
vue: '@vue/runtime-dom/dist/runtime-dom.esm-bundler.js'
|
||||
}
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
input: ['src/index.ts'],
|
||||
|
Loading…
Reference in New Issue
Block a user