Skip to content

Commit

Permalink
build(client): update chunk size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz committed Dec 18, 2023
1 parent f9d65db commit 0800ad9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/client/vite.base.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default {
},
},
build: {
chunkSizeWarningLimit: 2000,
chunkSizeWarningLimit: 5000,
},
plugins: [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig(mergeConfig(baseConfig, {
name: 'vite-plugin-copy-devtools-client-bundle',
apply: 'build',
enforce: 'post',
async closeBundle() {
closeBundle() {
// copy
const clientFile = resolve(__dirname, './dist')
fse.copySync(
Expand Down
2 changes: 1 addition & 1 deletion packages/client/vite.lib.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default defineConfig(mergeConfig(baseConfig, {
name: 'vite-plugin-copy-devtools-client',
apply: 'build',
enforce: 'post',
async closeBundle() {
closeBundle() {
// copy
const clientFile = resolve(__dirname, './dist')
fse.copySync(
Expand Down

0 comments on commit 0800ad9

Please sign in to comment.