Skip to content

Commit c58dca0

Browse files
committed
fix: Fix critical dependency.
1 parent c4516c0 commit c58dca0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.kktrc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default (conf: Configuration, env: 'production' | 'development', options:
2020
VERSION: JSON.stringify(pkg.version),
2121
}));
2222
if (env === 'production') {
23+
conf.module!.exprContextCritical = false;
2324
conf.output = { ...conf.output, publicPath: './' };
2425
conf.optimization = {
2526
...conf.optimization,

0 commit comments

Comments
 (0)