Skip to content

Commit

Permalink
fix: remove repeat cache config
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcarl committed May 31, 2018
1 parent eb1b77b commit 8e00d12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ exports.config = {
buildPath: 'public',
publicPath: '/public/',
hashLength: 8,
cache: true,
alias: {},
packs: {},
cdn: {},
Expand Down
10 changes: 5 additions & 5 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class Config {
this.startCreateQueue = [];
this.beforeCreateQueue = [];
this.webpackNodeList = [
'context', 'target', 'node', 'output', 'externals', 'resolve', 'watch', 'watchOptions', 'amd',
'resolveLoader', 'devServer', 'performance', 'module', 'cache', 'profile', 'stats', 'cache', 'optimization'
'context', 'mode', 'target', 'node', 'output', 'externals', 'resolve', 'watch', 'watchOptions', 'amd',
'resolveLoader', 'devServer', 'performance', 'module', 'profile', 'stats', 'cache', 'optimization'
];
this.sourceMapLoaders = [
'css-loader',
'sass-loader',
'less-loader',
'css-loader',
'sass-loader',
'less-loader',
'stylus-loader'
];
this.loaderKeyLabelMapping = {
Expand Down

0 comments on commit 8e00d12

Please sign in to comment.