From c520f2137e1000c719e57b087ac39c94c321c698 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Sat, 29 Jan 2022 14:46:50 +0800 Subject: [PATCH] docs(concepts): add note about deprecated CLI usage for loaders (#5916) --- src/content/concepts/loaders.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/concepts/loaders.mdx b/src/content/concepts/loaders.mdx index 92c7e4426b38..774ac03a7b16 100644 --- a/src/content/concepts/loaders.mdx +++ b/src/content/concepts/loaders.mdx @@ -51,6 +51,8 @@ There are two ways to use loaders in your application: - [Configuration](#configuration) (recommended): Specify them in your **webpack.config.js** file. - [Inline](#inline): Specify them explicitly in each `import` statement. +Note that loaders can be used from CLI under webpack v4, but the feature was deprecated in webpack v5. + ### Configuration [`module.rules`](/configuration/module/#modulerules) allows you to specify several loaders within your webpack configuration.