webpackmonitor icon indicating copy to clipboard operation
webpackmonitor copied to clipboard

replaces babel compact with babel preset minify for better minification information (fix for issue #73)

Open mbehzad opened this issue 8 years ago • 0 comments

babel compact mainly removes unnecessary white spaces and new lines docs, babel minify preset has a more aggressive minificiation options. which would result to a better file size calculation.

using devtool option from the webpack build with inline source map or eval would lead to a bundle not suitable for minification, or for production. a recommendation block is added which tells the user when wrong devtool option for the sourceMap was used for the production build.

mbehzad avatar Nov 02 '17 09:11 mbehzad