esbuild
esbuild copied to clipboard
CSS class selectors in @scope declaration in css module not transformed?
Was surprised to discover class selectors in @scope in a module.css file weren't transformed but also that :local(...) is passed through. Apologies for any ignorance on my part.
Input
@scope(.component) to (:local(.slot)){
.slot{ ... }
}
Output
@scope(.component) to (:local(.slot)){
.module_slot{ ... }
}
Expected
@scope(.module_component) to (.module_slot){
.module_slot{ ... }
}
(v0.25.12)
Thanks for the report. I wasn't aware of that syntax.