File tree 3 files changed +26
-6
lines changed
3 files changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,26 @@ This is a new major version that contains several backwards-compatibility breaks
12
12
13
13
* #1309 Drop ESLint integration (@Kocal )
14
14
15
+ * #1317 Drop support of sass-loader ^13 and ^14, add support for sass-loader ^16 (@Kocal )
16
+
17
+ The sass-loader's options have changed, [ the ` modern ` options] ( https://sass-lang.com/documentation/js-api/interfaces/options ) are now used by default.
18
+ Though not recommended,
19
+ you must specify the option ` api: 'legacy' `
20
+ if you want to keep [ the ` legacy ` options] ( https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/ ) .
21
+ For example:
22
+ ``` js
23
+ // With the legacy API:
24
+ Encore .enableSassLoader ((options ) => {
25
+ options .api = ' legacy' ;
26
+ options .includePaths = [/* ...*/ ];
27
+ });
28
+
29
+ // With the modern API (default):
30
+ Encore .enableSassLoader ((options ) => {
31
+ options .loadPaths = [/* ...*/ ];
32
+ });
33
+ ```
34
+
15
35
## 4.7.0
16
36
17
37
### Features
Original file line number Diff line number Diff line change 84
84
"preact" : " ^10.5.0" ,
85
85
"preact-compat" : " ^3.17.0" ,
86
86
"sass" : " ^1.17.0" ,
87
- "sass-loader" : " ^13 .0.0 || ^14.0.0 " ,
87
+ "sass-loader" : " ^16 .0.1 " ,
88
88
"sinon" : " ^14.0.0" ,
89
89
"strip-ansi" : " ^6.0.0" ,
90
90
"stylus" : " ^0.60.0" ,
120
120
"postcss" : " ^8.3.0" ,
121
121
"postcss-loader" : " ^7.0.0 || ^8.1.0" ,
122
122
"sass" : " ^1.17.0" ,
123
- "sass-loader" : " ^13 .0.0 || ^14.0.0 " ,
123
+ "sass-loader" : " ^16 .0.1 " ,
124
124
"stylus" : " ^0.58.1" ,
125
125
"stylus-loader" : " ^7.0.0 || ^8.1.0" ,
126
126
"ts-loader" : " ^9.0.0" ,
Original file line number Diff line number Diff line change @@ -6412,10 +6412,10 @@ safe-regex-test@^1.0.0:
6412
6412
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
6413
6413
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
6414
6414
6415
- " sass-loader@^13 .0.0 || ^14.0.0 " :
6416
- version "14 .0.0 "
6417
- resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-14 .0.0 .tgz#fc8390f7cc16863622cd16f3ea07b36ba6ea8f91 "
6418
- integrity sha512-oceP9wWbep/yRJ2+sMbCzk0UsXsDzdNis+N8nu9i5GwPXjy6v3DNB6TqfJLSpPO9k4+B8x8p/CEgjA9ZLkoLug ==
6415
+ sass-loader@^16 .0.1 :
6416
+ version "16 .0.1 "
6417
+ resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-16 .0.1 .tgz#57049c1787076e923b21a1dccc612546ecaf4295 "
6418
+ integrity sha512-xACl1ToTsKnL9Ce5yYpRxrLj9QUDCnwZNhzpC7tKiFyA8zXsd3Ap+HGVnbCgkdQcm43E+i6oKAWBsvGA6ZoiMw ==
6419
6419
dependencies :
6420
6420
neo-async "^2.6.2"
6421
6421
You can’t perform that action at this time.
0 commit comments