Use the new import name for the ESM default export (#2026)

Closes #2024
This commit is contained in:
Natalie Weizenbaum 2023-06-21 13:30:11 -07:00 committed by GitHub
parent a48ced8ec9
commit b4e8a74a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -276,7 +276,7 @@ function defaultExportDeprecation() {
buffer.write("""
get $export() {
defaultExportDeprecation();
return _cliPkgExports.$export;
return cjs.$export;
},
""");
}