We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From: #1856 (comment)
The production mode enables a few more plugins than currently listed, eg FlagIncludedChunksPlugin, OccurrenceOrderPlugin, SideEffectsFlagPlugin, FlagDependencyUsagePlugin: https://github.com/webpack/webpack/blob/4f399322ad1922ae7bafdeea1c4d83bf9c9851a7/lib/WebpackOptionsDefaulter.js#L192-L207 https://github.com/webpack/webpack/blob/fde018300aa52262c384e937c408d5dd97d62951/lib/WebpackOptionsApply.js#L307-L318
production
FlagIncludedChunksPlugin
OccurrenceOrderPlugin
SideEffectsFlagPlugin
FlagDependencyUsagePlugin
And development mode also enables NamedChunksPlugin.
development
NamedChunksPlugin
Page in question: https://github.com/webpack/webpack.js.org/blob/master/src/content/concepts/mode.md
The text was updated successfully, but these errors were encountered:
please close this one @montogeek
Sorry, something went wrong.
@EugeneHlushko why was this closed? The issue still applies to master and next.
master
next
Hmm you are right, my mistake here @edmorley Will fix this asap
This has been added properly on text but not on the code-diff that appears below
No branches or pull requests
From:
#1856 (comment)
The
production
mode enables a few more plugins than currently listed, egFlagIncludedChunksPlugin
,OccurrenceOrderPlugin
,SideEffectsFlagPlugin
,FlagDependencyUsagePlugin
:https://github.com/webpack/webpack/blob/4f399322ad1922ae7bafdeea1c4d83bf9c9851a7/lib/WebpackOptionsDefaulter.js#L192-L207
https://github.com/webpack/webpack/blob/fde018300aa52262c384e937c408d5dd97d62951/lib/WebpackOptionsApply.js#L307-L318
And
development
mode also enablesNamedChunksPlugin
.Page in question:
https://github.com/webpack/webpack.js.org/blob/master/src/content/concepts/mode.md
The text was updated successfully, but these errors were encountered: