glromeo / esbuild-sass-plugin

esbuild plugin for sass
MIT License
155 stars 40 forks source link

Sourcemaps for lit-css imports are broken #158

Open akefeli opened 11 months ago

akefeli commented 11 months ago

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?