From a144221e3393ffc70ff32976dc44e124b0ce1577 Mon Sep 17 00:00:00 2001 From: Eugene Fox Date: Wed, 7 May 2025 20:38:18 +0300 Subject: [PATCH] chore: chunk max size warning --- wxt.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wxt.config.ts b/wxt.config.ts index dfeee6d..7899a04 100644 --- a/wxt.config.ts +++ b/wxt.config.ts @@ -3,6 +3,12 @@ import { ConfigEnv, defineConfig, UserManifest } from "wxt"; // See https://wxt.dev/api/config.html export default defineConfig({ modules: ["@wxt-dev/module-react", "@wxt-dev/i18n/module", "@wxt-dev/analytics/module"], + vite: () => ({ + build: + { + chunkSizeWarningLimit: 1000 + } + }), imports: { dirsScanOptions: {