Skip to content

Update hot-module-replacement.md #1456

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

Merged
merged 3 commits into from
Jul 27, 2017
Merged

Update hot-module-replacement.md #1456

merged 3 commits into from
Jul 27, 2017

Conversation

sbaidon
Copy link
Contributor

@sbaidon sbaidon commented Jul 26, 2017

Just noticed the lodash import was missing in a index.js diff block

missed lodash import
@sbaidon sbaidon mentioned this pull request Jul 26, 2017
noticed there was this error when running the example :

ERROR in chunk print [entry]
build.js
Conflict: Multiple assets emit to the same filename build.js
@@ -213,7 +213,7 @@ __webpack.config.js__
new webpack.HotModuleReplacementPlugin()
],
output: {
filename: 'bundle.js',
filename: '[name].build.js',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think [name].bundle.js is more commonly used than [name].build.js but I'm not sure if this is what is mentioned in the other guides. @TheDutchCoder do you know?

Personally I would prefer [name].bundle.js but I don't feel too strongly about it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right it should be [name].bundle.js that is what's on the other guides, will update

Copy link
Collaborator

@skipjack skipjack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@skipjack skipjack merged commit e054dfd into webpack:master Jul 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants