Skip to content

Commit b4e8a74

Browse files
authored
Use the new import name for the ESM default export (#2026)
Closes #2024
1 parent a48ced8 commit b4e8a74

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.63.6
2+
3+
### JavaScript API
4+
5+
* Fix `import sass from 'sass'` again after it was broken in the last release.
6+
17
## 1.63.5
28

39
### JavaScript API

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass
2-
version: 1.63.5
2+
version: 1.63.6-dev
33
description: A Sass implementation in Dart.
44
homepage: https://github.com/sass/dart-sass
55

tool/grind.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function defaultExportDeprecation() {
276276
buffer.write("""
277277
get $export() {
278278
defaultExportDeprecation();
279-
return _cliPkgExports.$export;
279+
return cjs.$export;
280280
},
281281
""");
282282
}

0 commit comments

Comments
 (0)