From a450602b556274927edf08a60fff4942b281f6dd Mon Sep 17 00:00:00 2001 From: James McDonald <38434825+jcmdonald@users.noreply.github.com> Date: Wed, 11 Aug 2021 08:53:33 -0500 Subject: [PATCH] Update asset-modules.mdx 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: