Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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