dart-sass icon indicating copy to clipboard operation
dart-sass copied to clipboard

The reference implementation of Sass, written in Dart.

Results 149 dart-sass issues
Sort by recently updated
recently updated
newest added

Hi all :wave: Migrating from node-sass and I'm having some issues importing a file. Ignore the hideous file structure. ``` -root -dir1 -dir2 -dir3 -dir4 -dir5 -dir6 * _file_needed.scss -file_to_reference_scss...

needs info

See https://github.com/sass/sass/issues/3374 - [x] Deprecation (https://github.com/sass/dart-sass/pull/1817) - [ ] Removal

enhancement

Greetings, if we refer to the `NodePackageImporter` documentation at https://sass-lang.com/documentation/js-api/classes/nodepackageimporter, it should be possible to use subpaths entry points such as `@use "pkg:uicomponents/colors";` with exports declared as: ```json { "exports":...

For some reason, when I see a deprecation message, the recommendation it provides replaces the underscores with hyphens, which then breaks the code. I'm not sure if this happens with...

```scss // input.scss @import "file:/tmp/dependency"; // /tmp/dependency.scss a { b: c; } ``` and equivalents using absolute `file:` URLs fail to compile starting in Dart Sass 1.67.0.

bug

I'm receiving a warning message when I render what I thought was simple sass code: ` .header { background-color:#ffffffb2; border-bottom:#0000004c; box-shadow:0 0 20px #0000004c; top:0px; left:0px; width:100%; height:70px; position:absolute; a{...

enhancement
cosmetic

Version 1.63 seems to have trouble with `--load-path` flag and `--watch`. SASS will not recompile on change. Take the following: ```bash sass --watch --load-path=node_modules/ src/styles/stylesheet.scss public/style.css ``` In `stylesheet.scss` ```scss...

bug
needs info

- [x] Original Implementation (https://github.com/sass/dart-sass/pull/1970) - [x] Revert (https://github.com/sass/dart-sass/pull/2067) - [x] Roll Forward (https://github.com/sass/dart-sass/pull/2080) - [ ] Breaking Changes See https://github.com/sass/sass/issues/3504

enhancement

Node.js allows ESM modules to `import` CJS files as though they used a default export, which means there's some amount of existing ESM usage of the `sass` package via `import...

enhancement
JavaScript