Skip to content

Commit 3582696

Browse files
authored
docs(guides): Update asset-modules.mdx (#5289)
Fix dead links for the old loaders
1 parent 26b56cd commit 3582696

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/guides/asset-modules.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Asset Modules is a type of module that allows one to use asset files (fonts, ico
1616

1717
Prior to webpack 5 it was common to use:
1818

19-
- [`raw-loader`](/loaders/raw-loader/) to import a file as a string
20-
- [`url-loader`](/loaders/url-loader/) to inline a file into the bundle as a data URI
21-
- [`file-loader`](/loaders/file-loader/) to emit a file into the output directory
19+
- [`raw-loader`](https://v4.webpack.js.org/loaders/raw-loader/) to import a file as a string
20+
- [`url-loader`](https://v4.webpack.js.org/loaders/url-loader/) to inline a file into the bundle as a data URI
21+
- [`file-loader`](https://v4.webpack.js.org/loaders/file-loader/) to emit a file into the output directory
2222

2323
Asset Modules type replaces all of these loaders by adding 4 new module types:
2424

0 commit comments

Comments
 (0)