Skip to content

Commit fd67fe6

Browse files
jamesnwnex3
andauthored
[Hotfix Node Package Importer]- Handle subpath without extensions (#2184)
Co-authored-by: Natalie Weizenbaum <[email protected]>
1 parent 1b4d703 commit fd67fe6

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.72.0
2+
3+
* Allow the Node.js `pkg:` importer to load Sass stylesheets for `package.json`
4+
`exports` field entries without extensions.
5+
16
## 1.71.1
27

38
### Command-Line Interface

lib/src/importer/node_package.dart

+1
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ class NodePackageImporter extends Importer {
354354
paths.add(subpath);
355355
} else {
356356
paths.addAll([
357+
subpath,
357358
'$subpath.scss',
358359
'$subpath.sass',
359360
'$subpath.css',

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass
2-
version: 1.71.1
2+
version: 1.72.0-dev
33
description: A Sass implementation in Dart.
44
homepage: https://github.com/sass/dart-sass
55

0 commit comments

Comments
 (0)