You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where = 'none' means that the default value is 'none' for the given option.
However, many options have 3 possible defaults depending on whether mode is set to none, production, or development. It's also difficult to decipher at times.
The current writer's guide suggests writing defaults as follows:
However, many options have 3 possible defaults depending on whether
mode
is set to none, production, or development. It's also difficult to decipher at times.Proposal: use a "defaults" table instead.
optimization.moduleIds
boolean: false
string: 'natural' | 'named' | 'deterministic' | 'size'
'production'
'deterministic'
'development'
'named'
'none'
'natural'
Example:
If an option has the same default for all modes, we could simplify it like so:
optimization.mangleWasmImports
boolean
false
Example:
This makes it easy to see at a glance what the defaults are for every option.
Related:
#2080, #2302
The text was updated successfully, but these errors were encountered: