Skip to content
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

V2 -- HMR - named Modules #79

Open
stylesuxx opened this issue Jan 29, 2017 · 0 comments
Open

V2 -- HMR - named Modules #79

stylesuxx opened this issue Jan 29, 2017 · 0 comments

Comments

@stylesuxx
Copy link
Contributor

stylesuxx commented Jan 29, 2017

HMR is telling me:

Consider using the NamedModulesPlugin for module names.

This can be achived by adding the new webpack.NamedModulesPlugin() to the Plugin section of webpack/Dev.js

Changes HMR log messeges from

[WDS] App hot update...
log-apply-result.js:20 [HMR] Updated modules:
log-apply-result.js:22 [HMR]  - 2
log-apply-result.js:22 [HMR]  - 69

to:

[WDS] App hot update...
log-apply-result.js:20 [HMR] Updated modules:
log-apply-result.js:22 [HMR]  - ./components/App.js
log-apply-result.js:22 [HMR]  - ./containers/App.js

If this is something we want, feel free to assign me and I will make the change.

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

No branches or pull requests

1 participant