Open garygchai opened 8 years ago
I had to seen this issue,and as this error:The code generator has deoptimised the styling of "xxx/xxx/templates.js as it exceeds the max of 500KB " when a templates.js document was packaged for webpack.So I found some method to resolve it. I know a truthful thing Because we could use the different program frames. You can find gulpfile.js and search the word "babelify", exmaple :
bundler.transform("babelify", { "compact": false,presets: ["es2015"] });
you can see above setting ,I only added "compact":false, Hope to help you.
100KB for most js files is too small. I think It shold be configurable such as: fis.match('*.{js,es6}', { rExt: '.js', parser: fis.plugin('es6-babel', { maxSize: 100 }) });