Skip to content

Commit

Permalink
chore: fix Critical dependency issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 11, 2022
1 parent 9179f5a commit 369c07a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/.kktrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default (conf: WebpackConfiguration, env: 'development' | 'production', o
}),
);
conf = mdCodeModulesLoader(conf);
conf.module!.exprContextCritical = false;
if (process.env.NODE_ENV === 'production') {
conf.output = { ...conf.output, publicPath: './' };
}
Expand Down

1 comment on commit 369c07a

@jaywcjlove
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.