Skip to content

Commit

Permalink
Updated stats analyzer works correctly with isomorphic code layout
Browse files Browse the repository at this point in the history
  • Loading branch information
JayCanuck committed Dec 5, 2016
1 parent 2826518 commit 2fd9277
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions global-cli/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,6 @@ module.exports = function(args) {
}

if(opts.stats) {
if(opts.production && opts.isomorphic) {
console.log(chalk.yellow('Notice: Due to limitations, the stats analyzer is incompatible with isomorphic code'
+ ' layout in production mode, and will display pre-minified sizes only.'));
}
statsAnalyzer(config);
}

Expand Down

0 comments on commit 2fd9277

Please sign in to comment.