Skip to content

Commit

Permalink
website: update kkt config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 18, 2023
1 parent d4e74ff commit c213a95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/.kktrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default (conf: WebpackConfiguration, env: 'production' | 'development', o
VERSION: JSON.stringify(pkg.version),
}),
);
conf.module!.exprContextCritical = false;
if (env === 'production') {
conf.output = { ...conf.output, publicPath: './' };
conf.optimization = {
Expand Down

0 comments on commit c213a95

Please sign in to comment.