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

fix side-effects example, rebuild examples #8676

Merged
merged 3 commits into from Jan 25, 2019

Conversation

hulkish
Copy link
Contributor

@hulkish hulkish commented Jan 25, 2019

I noticed current examples/side-effects/README.md that what is claimed is not what is shown in output. This pr aims to correct this.

What kind of change does this PR introduce?

fix example

Did you add tests for your changes?

N/A

Does this PR introduce a breaking change?

No

What needs to be documented once your changes are merged?

N/A

@webpack-bot
Copy link
Contributor

For maintainers only:

  • This need to be documented (issue in webpack/webpack.js.org will be filed when merged)

@hulkish hulkish force-pushed the fix-side-effects-example branch 2 times, most recently from 8030bbc to d3a73b7 Compare January 25, 2019 01:16
@webpack-bot
Copy link
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@hulkish
Copy link
Contributor Author

hulkish commented Jan 25, 2019

@sokra I was thinking, shouldn't this already be covered with --mode production via webpack cli (which is used to generate examples).

@sokra sokra merged commit 07d4d85 into webpack:master Jan 25, 2019
@sokra
Copy link
Member

sokra commented Jan 25, 2019

I was thinking, shouldn't this already be covered with --mode production via webpack cli (which is used to generate examples).

Yes, mode production also enables it, but the examples run in mode none to be readable. Production would include other optimizations like minimizing and scope-hoisting which would make it less obvious what's happening...

@sokra
Copy link
Member

sokra commented Jan 25, 2019

Thanks

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.

None yet

3 participants