File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.71.0
2
+
3
+ For more information about ` pkg: ` importers, see [ the
4
+ announcement] [ pkg-importers ] on the Sass blog.
5
+
6
+ [ pkg-importers ] : https://sass-lang.com/blog/announcing-pkg-importers
7
+
8
+ ### JavaScript API
9
+
10
+ * Add a ` NodePackageImporter ` importer that can be passed to the ` importers `
11
+ option. This loads files using the ` pkg: ` URL scheme according to the Node.js
12
+ package resolution algorithm. For example, ` @use "pkg:bootstrap" ` will load
13
+ ` node_modules/bootstrap/scss/bootstrap.scss ` . The constructor takes a single
14
+ optional argument, which indicates the base directory to use when locating
15
+ ` node_modules ` directories. It defaults to
16
+ ` path.dirname(require.main.filename) ` .
17
+
18
+ ### Dart API
19
+
20
+ * Add a ` NodePackageImporter ` importer that can be passed to the ` importers `
21
+ option. This loads files using the ` pkg: ` URL scheme according to the Node.js
22
+ package resolution algorithm. For example, ` @use "pkg:bootstrap" ` will load
23
+ ` node_modules/bootstrap/scss/bootstrap.scss ` . The constructor takes a single
24
+ argument, which indicates the base directory to use when locating
25
+ ` node_modules ` directories.
26
+
1
27
## 1.70.0
2
28
3
29
### JavaScript API
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.70.0
2
+ version : 1.71.0-dev
3
3
description : A Sass implementation in Dart.
4
4
homepage : https://github.com/sass/dart-sass
5
5
You can’t perform that action at this time.
0 commit comments