Skip to content

Commit 774fb8b

Browse files
committed
Add support for style-loader ^4.0.0
1 parent ea46311 commit 774fb8b

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22

33
## 5.2.0
44

5-
* Add support for Webpack CLI ^6.0 by @Kocal in https://github.com/symfony/webpack-encore/pull/1367
6-
* Add support for babel-loader ^10.0
5+
* Add support for Webpack CLI ^6.0.0
6+
7+
* Add support for babel-loader ^10.0.0
8+
9+
* Add support for style-loader ^4.0.0
10+
11+
If you manually specified the option `insert`, now it can only be a selector or the path to the module.
12+
Follow the [style-loader migration guide](https://github.com/webpack-contrib/style-loader/releases/tag/v4.0.0) to upgrade!
713

814
## 5.1.0
915

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"pretty-error": "^4.0.0",
3838
"resolve-url-loader": "^5.0.0",
3939
"semver": "^7.3.2",
40-
"style-loader": "^3.3.0",
40+
"style-loader": "^3.3.0 || ^4.0.0",
4141
"tapable": "^2.2.1",
4242
"terser-webpack-plugin": "^5.3.0",
4343
"tmp": "^0.2.1",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7305,10 +7305,10 @@ strip-json-comments@^3.1.1:
73057305
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
73067306
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
73077307

7308-
style-loader@^3.3.0:
7309-
version "3.3.4"
7310-
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.4.tgz#f30f786c36db03a45cbd55b6a70d930c479090e7"
7311-
integrity sha512-0WqXzrsMTyb8yjZJHDqwmnwRJvhALK9LfRtRc6B4UTWe8AijYLZYZ9thuJTZc2VfQWINADW/j+LiJnfy2RoC1w==
7308+
"style-loader@^3.3.0 || ^4.0.0":
7309+
version "4.0.0"
7310+
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-4.0.0.tgz#0ea96e468f43c69600011e0589cb05c44f3b17a5"
7311+
integrity sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA==
73127312

73137313
stylehacks@^7.0.4:
73147314
version "7.0.4"

0 commit comments

Comments
 (0)