diff --git a/packages/client/vite.base.config.ts b/packages/client/vite.base.config.ts index 4a168b45..033e1d4b 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 5dcedd1c..80870459 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 f8a20db2..8d532caf 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(