Skip to content

Commit

Permalink
ci: fix size on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 23, 2021
1 parent f27a98b commit 4886a63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions packages/size-check/vite.config.js
@@ -1,4 +1,9 @@
export default {
resolve: {
alias: {
vue: '@vue/runtime-dom/dist/runtime-dom.esm-bundler.js'
}
},
build: {
rollupOptions: {
input: ['src/index.ts'],
Expand Down

0 comments on commit 4886a63

Please sign in to comment.