Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pubspec/changelog for pkg: importers #2168

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
## 1.71.0

For more information about `pkg:` importers, see [the
announcement][pkg-importers] on the Sass blog.

[pkg-importers]: https://sass-lang.com/blog/announcing-pkg-importers

### JavaScript API

* Add a `NodePackageImporter` importer that can be passed to the `importers`
option. This loads files using the `pkg:` URL scheme according to the Node.js
package resolution algorithm. For example, `@use "pkg:bootstrap"` will load
`node_modules/bootstrap/scss/bootstrap.scss`. The constructor takes a single
optional argument, which indicates the base directory to use when locating
`node_modules` directories. It defaults to
`path.dirname(require.main.filename)`.

### Dart API

* Add a `NodePackageImporter` importer that can be passed to the `importers`
option. This loads files using the `pkg:` URL scheme according to the Node.js
package resolution algorithm. For example, `@use "pkg:bootstrap"` will load
`node_modules/bootstrap/scss/bootstrap.scss`. The constructor takes a single
argument, which indicates the base directory to use when locating
`node_modules` directories.

## 1.70.0

### 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.70.0
version: 1.71.0-dev
description: A Sass implementation in Dart.
homepage: https://github.com/sass/dart-sass

Expand Down
Loading