-
Notifications
You must be signed in to change notification settings - Fork 355
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
Bad state error when using meta.apply
and compile with render
#2151
Labels
Comments
Interestingly, |
nex3
added a commit
that referenced
this issue
Dec 28, 2023
nex3
added a commit
that referenced
this issue
Dec 28, 2023
nex3
added a commit
that referenced
this issue
Dec 28, 2023
Thanks for the quick fix! |
lmeysel
pushed a commit
to lmeysel/dart-sass
that referenced
this issue
Feb 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using the deprecated
render
API to process sass files (Vite still uses it), and also usingmeta.apply
, it fails with (raw log):Using
compileString
works fine. I'm not sure if it is intentional that this new feature doesn't work with the deprecatedrender
API, but if so I think that's fair and just checking here.Here's a repro comparing
compileString
andrender
: https://stackblitz.com/edit/stackblitz-starters-tirkhu?file=index.js (runnode index.js
to see error)This was originally reported at vitejs/vite#15443
The text was updated successfully, but these errors were encountered: