From c520f2137e1000c719e57b087ac39c94c321c698 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Sat, 29 Jan 2022 14:46:50 +0800 Subject: [PATCH 1/2] 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. From 6e0fed8b6ef2095d9a6ccf2b01155cf0a10406ce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 30 Jan 2022 09:41:39 +0800 Subject: [PATCH 2/2] build(deps-dev): bump copy-webpack-plugin from 10.2.1 to 10.2.2 (#5915) Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 10.2.1 to 10.2.2. - [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases) - [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v10.2.1...v10.2.2) --- updated-dependencies: - dependency-name: copy-webpack-plugin dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b4553892ac40..25dd58d34482 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "@svgr/webpack": "^6.2.0", "autoprefixer": "^10.4.2", "babel-loader": "^8.2.3", - "copy-webpack-plugin": "^10.2.1", + "copy-webpack-plugin": "^10.2.2", "css-loader": "^6.5.1", "css-minimizer-webpack-plugin": "^3.4.1", "cypress": "^9.3.1", diff --git a/yarn.lock b/yarn.lock index 7231501a59bb..9832275a1453 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4032,10 +4032,10 @@ copy-to-clipboard@^3.3.1: dependencies: toggle-selection "^1.0.6" -copy-webpack-plugin@^10.2.1: - version "10.2.1" - resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-10.2.1.tgz#115a41f913070ac236a1b576066204cbf35341a1" - integrity sha512-nr81NhCAIpAWXGCK5thrKmfCQ6GDY0L5RN0U+BnIn/7Us55+UCex5ANNsNKmIVtDRnk0Ecf+/kzp9SUVrrBMLg== +copy-webpack-plugin@^10.2.2: + version "10.2.2" + resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-10.2.2.tgz#40a0475ea3921794bc4ea78a15c431a725ae3dee" + integrity sha512-hNdS4YM9NmbpW++GT2QevyXdeG9m2NZYFNDWN63MzZzFO1IFuH1KMtVJAoXX6yzTgsVz/x00exWcgdyX57ta9g== dependencies: fast-glob "^3.2.7" glob-parent "^6.0.1"