Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore(chrome-plugin): update kkt config.
  • Loading branch information
jaywcjlove committed Apr 25, 2022
1 parent 43f649e commit a0ff47f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/chrome-plugin/.kktrc.js
Expand Up @@ -2,7 +2,9 @@ import { CleanWebpackPlugin } from 'clean-webpack-plugin';
import FileManagerPlugin from 'filemanager-webpack-plugin';

export default (conf, env, options) => {
conf.output.publicPath = './';
if (env === 'production') {
conf.output = { ...conf.output, publicPath: './' };
}
// const regexp = /(HotModuleReplacementPlugin)/;
// conf.plugins = conf.plugins
// .map((item) => {
Expand Down

0 comments on commit a0ff47f

Please sign in to comment.