From 358269645e4528bf75105df2769e55b8dac8cd88 Mon Sep 17 00:00:00 2001 From: James McDonald <38434825+jcmdonald@users.noreply.github.com> Date: Wed, 11 Aug 2021 09:10:41 -0500 Subject: [PATCH] docs(guides): Update asset-modules.mdx (#5289) Fix dead links for the old loaders --- src/content/guides/asset-modules.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/guides/asset-modules.mdx b/src/content/guides/asset-modules.mdx index 438c3fed0d89..2253281f0d5a 100644 --- a/src/content/guides/asset-modules.mdx +++ b/src/content/guides/asset-modules.mdx @@ -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: