Skip to content

Commit

Permalink
perf: auto set buildfile and manifest false, client render no use
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcarl committed Oct 31, 2017
1 parent 8723811 commit 396539b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ module.exports = {
config.miniImage = true;
}
}
if(config.type === 'client'){
if(!config.plugins){
config.plugins = {};
}
if(config.plugins.buildfile === undefined){
config.plugins.buildfile = false;
}
if(config.plugins.manifest === undefined){
config.plugins.manifest = false;
}
}
return config;
},
log(info) {
Expand Down

0 comments on commit 396539b

Please # to comment.