-
Notifications
You must be signed in to change notification settings - Fork 350
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
If parsedAsCustomProperty is true, value must contain a SassString #2023
Comments
I'm unable to repro with the provided info. Can you provide a small repro repository and instructions on how to reproduce this? What I tried: cd $(mktemp --dir)
npm init # accept everything as default
npm install sass @picocss/pico ts-node Setup my "scripts": {
"test": "ts-node index.ts",
"sass": "sass index.scss"
} I used your input as import * as sass from "sass";
const css = sass.compile("./index.scss");
console.log(css.css); Then ran: npm run test # compiles with JS API
npm run sass # compiles with CLI Both of those commands compiled everything without any issue. |
|
Thanks, I can repro with this |
Minimal repro: <===> main.scss
@import 'foo';
<===> foo.scss
@use 'bar';
<===> bar.scss
a { #{--}: b c } Basically |
It seems like the reason is that the |
* Add regression test for sass/dart-sass#2023 * ignore for libsas because of @use
The text was updated successfully, but these errors were encountered: