diff --git a/CHANGELOG.md b/CHANGELOG.md index ddf9cbc85..1eb735f4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.72.0 + +* Allow the Node.js `pkg:` importer to load Sass stylesheets for `package.json` + `exports` field entries without extensions. + ## 1.71.1 ### Command-Line Interface diff --git a/lib/src/importer/node_package.dart b/lib/src/importer/node_package.dart index 5a81baf3b..d621ccf94 100644 --- a/lib/src/importer/node_package.dart +++ b/lib/src/importer/node_package.dart @@ -354,6 +354,7 @@ class NodePackageImporter extends Importer { paths.add(subpath); } else { paths.addAll([ + subpath, '$subpath.scss', '$subpath.sass', '$subpath.css', diff --git a/pubspec.yaml b/pubspec.yaml index 35c938efb..3105413b4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: sass -version: 1.71.1 +version: 1.72.0-dev description: A Sass implementation in Dart. homepage: https://github.com/sass/dart-sass