Skip to content

Commit 7e7f84c

Browse files
committed
Increase chunkSizeWarningLimit
1 parent 2042459 commit 7e7f84c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/webview-shared/createWebviewConfig.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export function createWebviewConfig(
3030
target: "esnext",
3131
// Skip gzip size calculation for faster builds
3232
reportCompressedSize: false,
33+
// Webviews load as a single bundle; code-splitting doesn't apply
34+
chunkSizeWarningLimit: 600,
3335
rollupOptions: {
3436
// HTML is generated by the extension with CSP headers
3537
input: resolve(dirname, "src/index.tsx"),

0 commit comments

Comments
 (0)