Skip to content

Commit

Permalink
Use the new import name for the ESM default export (#2026)
Browse files Browse the repository at this point in the history
Closes #2024
  • Loading branch information
nex3 committed Jun 21, 2023
1 parent a48ced8 commit b4e8a74
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.63.6

### JavaScript API

* Fix `import sass from 'sass'` again after it was broken in the last release.

## 1.63.5

### JavaScript API
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sass
version: 1.63.5
version: 1.63.6-dev
description: A Sass implementation in Dart.
homepage: https://github.com/sass/dart-sass

Expand Down
2 changes: 1 addition & 1 deletion tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function defaultExportDeprecation() {
buffer.write("""
get $export() {
defaultExportDeprecation();
return _cliPkgExports.$export;
return cjs.$export;
},
""");
}
Expand Down

0 comments on commit b4e8a74

Please sign in to comment.