-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin is asking to make file sizes larger #73
Comments
Hi @silvestrijonathan, could you share your webpack + babel config here? |
@mbehzad It uses the defaults provided by create-react-app, the only additions are the production build plugins: plugins: [
new InterpolateHtmlPlugin(env.raw),
new HtmlWebpackPlugin({
inject: true,
template: paths.appHtml,
minify: {
removeComments: true,
collapseWhitespace: true,
removeRedundantAttributes: true,
useShortDoctype: true,
removeEmptyAttributes: true,
removeStyleLinkTypeAttributes: true,
keepClosingSlash: true,
minifyJS: true,
minifyCSS: true,
minifyURLs: true,
}
}),
new webpack.NamedModulesPlugin(),
new UglifyJSPlugin(),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('production')
}
}),
new ExtractTextPlugin({
filename: cssFilename,
ignoreOrder: true
}),
new CaseSensitivePathsPlugin(),
new WatchMissingNodeModulesPlugin(paths.appNodeModules),
] |
mbehzad
added a commit
to mbehzad/webpackmonitor
that referenced
this issue
Nov 2, 2017
…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
Hey team,
Using the following configuration:
I receive the following output:
I am running the monitor on a production build of my app. I am curious if I am doing something wrong, or if there's a bug that seems to have cropped up recently.
The text was updated successfully, but these errors were encountered: