Re: [w3c/webcomponents] CSS Modules (#759)

Here's an example Rollup transform: https://gist.github.com/samthor/ee78b434b0f9aa525c5d235979b830aa

A transform can go off-spec with a cooperating Constructible Stylesheets polyfill and support `@import` by lifting `@import`s into the JS module. I would suggest that tools don't do that though, and wait for the spec to evolve.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/759#issuecomment-520627853

Received on Monday, 12 August 2019 23:11:05 UTC