Skip to content

Commit

Permalink
chore: upgrade to vite3
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed Sep 18, 2022
1 parent 1dc44a6 commit 805e8fe
Show file tree
Hide file tree
Showing 3 changed files with 394 additions and 185 deletions.
8 changes: 4 additions & 4 deletions packages/varlet-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"@babel/helper-plugin-utils": "^7.14.5",
"@babel/preset-env": "^7.14.8",
"@babel/preset-typescript": "^7.14.5",
"@vitejs/plugin-vue": "2.2.0",
"@vitejs/plugin-vue-jsx": "1.3.5",
"@vitejs/plugin-vue": "3.0.1",
"@vitejs/plugin-vue-jsx": "2.0.0",
"@vue/babel-plugin-jsx": "1.1.1",
"@vue/compiler-sfc": "3.2.25",
"@vue/runtime-core": "3.2.25",
Expand All @@ -64,7 +64,7 @@
"slash": "^3.0.0",
"ts-jest": "^26.5.1",
"typescript": "^4.4.4",
"vite": "2.9.14",
"vite": "3.0.4",
"vite-plugin-html": "^2.1.0",
"vue": "3.2.25",
"vue-jest": "^5.0.0-alpha.8"
Expand All @@ -89,4 +89,4 @@
"@vue/runtime-core": "3.2.16",
"vue-router": "4.0.12"
}
}
}
2 changes: 1 addition & 1 deletion packages/varlet-cli/src/config/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function getBuildConfig(varletConfig: Record<string, any>): InlineConfig
base: './',
build: {
outDir: SITE_OUTPUT_PATH,
brotliSize: false,
reportCompressedSize: false,
emptyOutDir: true,
cssTarget: 'chrome61',
rollupOptions: {
Expand Down
Loading

0 comments on commit 805e8fe

Please sign in to comment.