8000 replaces babel compact with babel preset minify for better minification information (fix for issue #73) by mbehzad · Pull Request #75 · webpackmonitor/webpackmonitor · GitHub
[go: up one dir, main page]

Skip to content

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

Open
mbehzad wants to merge 2 commits intowebpackmonitor:masterfrom
mbehzad:fix_for_issue_73
Open

replaces babel compact with babel preset minify for better minification information (fix for issue #73)#75
mbehzad wants to merge 2 commits intowebpackmonitor:masterfrom
mbehzad:fix_for_issue_73

Conversation

@mbehzad
Copy link
Contributor
@mbehzad mbehzad commented Nov 2, 2017

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.

…on information (fix for webpackmonitor#73)

captures `devtool` option from the webpack build and stores with other data,
shows a recomendation when wrong devtool option for the sourceMap was used for the production build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0