Closed
Description
A pull request by @vankop was merged and maintainers requested a documentation change.
See pull request: webpack/webpack#15494
What kind of change does this PR introduce?
feature
- add dynamicImportMode for ContextModule
- add dynamicImportPrefetch for prefetch order
- add dynamicImportPreload for preload order
closes build(deps-dev): bump webpack from 5.37.1 to 5.38.1 #5029
closes #11012
Did you add tests for your changes?
yes
Does this PR introduce a breaking change?
no
What needs to be documented once your changes are merged?
- add
parser.javascript.dynamicImportMode
enum of["eager", "weak", "lazy", "lazy-once"]
- add
parser.javascript.dynamicImportPrefetch
boolean flag for prefetch order - add
parser.javascript.dynamicImportPreload
boolean flag for preload order
this options will be used if there is no magic comments in import() (import(/* webpackMode: "sync" */"blabla")
).
Metadata
Metadata
Assignees
Labels
No labels