Skip to content
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

Sourcemaps for lit-css imports are broken #158

Open
akefeli opened this issue Dec 27, 2023 · 0 comments
Open

Sourcemaps for lit-css imports are broken #158

akefeli opened this issue Dec 27, 2023 · 0 comments

Comments

@akefeli
Copy link

akefeli commented Dec 27, 2023

We are using lit elements and importing CSS directly in JS. the output JS file has inline sourcemaps comment for the said CSS, but they don't seem to be valid, as in our JS is failing to load with that comment in there. The generated file would have multiple sourceMappingUrl sections, the regular one at the end, and one for each imported css file.

Is it expected to work this way?

@akefeli akefeli changed the title document sourceMap option document sourceMap option? Dec 27, 2023
@akefeli akefeli changed the title document sourceMap option? Sourcemaps for lit-css imports are broken Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant