Skip to content

Commit 399a3c6

Browse files
julienwchenxsan
andauthored
docs(Migration): loadersuse (webpack#6373)
* docs(Migration): `loaders` → `use` My understanding is that the deprecated `loaders` was removed in webpack/webpack#9138 which was in https://github.com/webpack/webpack/releases/tag/v5.74.0 (should that have been a major version upgrade?) * Update src/content/migrate/5.mdx Co-authored-by: Sam Chen <[email protected]>
1 parent b19c946 commit 399a3c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/migrate/5.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Update the following options to their new version (if used):
6868
- `Compilation.entries``Compilation.entryDependencies`
6969
- `serve``serve` is removed in favor of [`DevServer`](/configuration/dev-server/)
7070
- [`Rule.query`](/configuration/module/#ruleoptions--rulequery) (deprecated since v3) → `Rule.options`/`UseEntry.options`
71+
- `Rule.loaders`[`Rule.use`](/configuration/module/#ruleuse)
7172

7273
### Test webpack 5 compatibility
7374

0 commit comments

Comments
 (0)