我为什么要得到
error: Grunt :: [BABEL] Note: The code generator has deoptimised the styling of ".tmp/public/js/@fortawesome/fontawesome-free/js/all.min.js" as it exceeds the max of "500KB".
在生产模式下的Sail.js应用中?请建议我如何解决?
task->config->babel.js
并插入此代码:紧凑:假内部:
dist: { options: { presets: [require('sails-hook-grunt/accessible/babel-preset-env')], compact: false }, ... .... }