Skip to content

V2 -- HMR - named Modules #79

@stylesuxx

Description

@stylesuxx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions