File tree Expand file tree Collapse file tree 3 files changed +26
-6
lines changed Expand file tree Collapse file tree 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
1212
1313* #1309 Drop ESLint integration (@Kocal )
1414
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+
1535## 4.7.0
1636
1737### Features
Original file line number Diff line number Diff line change 8484 "preact" : " ^10.5.0" ,
8585 "preact-compat" : " ^3.17.0" ,
8686 "sass" : " ^1.17.0" ,
87- "sass-loader" : " ^13 .0.0 || ^14.0.0 " ,
87+ "sass-loader" : " ^16 .0.1 " ,
8888 "sinon" : " ^14.0.0" ,
8989 "strip-ansi" : " ^6.0.0" ,
9090 "stylus" : " ^0.60.0" ,
120120 "postcss" : " ^8.3.0" ,
121121 "postcss-loader" : " ^7.0.0 || ^8.1.0" ,
122122 "sass" : " ^1.17.0" ,
123- "sass-loader" : " ^13 .0.0 || ^14.0.0 " ,
123+ "sass-loader" : " ^16 .0.1 " ,
124124 "stylus" : " ^0.58.1" ,
125125 "stylus-loader" : " ^7.0.0 || ^8.1.0" ,
126126 "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:
64126412 resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
64136413 integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
64146414
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 ==
64196419 dependencies :
64206420 neo-async "^2.6.2"
64216421
You can’t perform that action at this time.
0 commit comments