Skip to content

Commit

Permalink
docs(guides): Update asset-modules.mdx (webpack#5289)
Browse files Browse the repository at this point in the history
Fix dead links for the old loaders
  • Loading branch information
jmcscript authored Aug 11, 2021
1 parent 26b56cd commit 3582696
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/content/guides/asset-modules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Asset Modules is a type of module that allows one to use asset files (fonts, ico

Prior to webpack 5 it was common to use:

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

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

Expand Down

0 comments on commit 3582696

Please sign in to comment.