-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[v4] Sourcemaps not enabled in postcss plugin #13694
Comments
Looks like you need to explicitly pass the sourcemap from lightning CSS to postcss. Here is a good example: https://github.com/onigoetz/postcss-lightningcss/blob/main/src/index.js#L23-L66 |
Sourcemaps are still a WIP. We don't track them at all at the moment in v4 but we have a PR for it. I think PostCSS source map support is going to be rather complicated because we're not utilizing the PostCSS AST and will require further research. |
The postcss plugin doesn't write soucemaps when doing the lightning CSS conversion.
I think this is where it needs to happen but trying to patch it with pnpm does not give me sourcemaps, so Im wondering if there is a larger issue
The text was updated successfully, but these errors were encountered: