Skip to content

Commit 369c07a

Browse files
committed
chore: fix Critical dependency issue.
uiwjs/react-code-preview#94
1 parent 9179f5a commit 369c07a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

website/.kktrc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default (conf: WebpackConfiguration, env: 'development' | 'production', o
2020
}),
2121
);
2222
conf = mdCodeModulesLoader(conf);
23+
conf.module!.exprContextCritical = false;
2324
if (process.env.NODE_ENV === 'production') {
2425
conf.output = { ...conf.output, publicPath: './' };
2526
}

0 commit comments

Comments
 (0)