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
Sourcemap @include paths not updated #733
Comments
Lightning CSS does not rewrite import paths. But perhaps you could consider using |
These are the scripts in my package.json to bundle the CSS. When I add the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you use the
--sourcemap
argument in the CLI to generate the CSS builds with sourcemaps, when the CSS uses@include
, it does not update the path and therefore will not work.In the code below, the builds are stored in the dist directory, while the CSS source code is stored in the src directory.
This is my simple code to reproduce this...
bundle.css
demo.html
package.json
src/stylesheet.css
dist/my-package.css output
What I expected from the dist/my-package.css output
The text was updated successfully, but these errors were encountered: