diff --git a/packages/client/vite.base.config.ts b/packages/client/vite.base.config.ts index 4a168b455..033e1d4be 100644 --- a/packages/client/vite.base.config.ts +++ b/packages/client/vite.base.config.ts @@ -12,7 +12,7 @@ export default { }, }, build: { - chunkSizeWarningLimit: 2000, + chunkSizeWarningLimit: 5000, }, plugins: [ { diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index 5dcedd1ce..80870459f 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -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( diff --git a/packages/client/vite.lib.config.ts b/packages/client/vite.lib.config.ts index f8a20db27..8d532caf8 100644 --- a/packages/client/vite.lib.config.ts +++ b/packages/client/vite.lib.config.ts @@ -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(