Commit c78c1fae authored by Zac Kwan's avatar Zac Kwan Committed by Dan Abramov
Browse files

Added NamedModulesPlugin in webpack.config.dev.js (#2458)

* Added NamedModulesPlugin in webpack.config.dev.js

* Update webpack.config.dev.js
parent b264b8de
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 2 additions and 0 deletions
+2 -0
......@@ -249,6 +249,8 @@ module.exports = {
inject: true,
template: paths.appHtml,
}),
// Add module names to factory functions so they appear in browser profiler.
new webpack.NamedModulesPlugin(),
// Makes some environment variables available to the JS code, for example:
// if (process.env.NODE_ENV === 'development') { ... }. See `./env.js`.
new webpack.DefinePlugin(env.stringified),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment