Skip to content

Commit 1a2e5ef

Browse files
committed
feature #1380 Add support for style-loader ^4.0.0 (Kocal)
This PR was merged into the main branch. Discussion ---------- Add support for style-loader ^4.0.0 | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes <!-- please update CHANGELOG.md file --> | Deprecations? | no <!-- please update CHANGELOG.md file --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Features and deprecations must be submitted against the latest branch. - For new features, provide some code snippets to help understand usage. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility. --> Commits ------- 774fb8b Add support for style-loader ^4.0.0
2 parents ea46311 + 774fb8b commit 1a2e5ef

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)