Re: [w3c/webcomponents] Rejecting CSS Modules in Workers (#854)

> Although, this does seem subject to change depending on the outcome of #839 and I think any conclusion we might reach here would at least have to be revisited based on how that turns out. For example say that we end up with a syntax that allows someone to write this sort of thing:
> `import something from "./example" with type: typeThatDoesntExist`
> Perhaps the mechanism that would fail the above should also be used to fail
> `import sheet from "./example" with type: css` when used in a Worker.

Er, yes, #839 will affect how we reject non-CSS MIME types for `import sheet from "./example" with type: css`, which will affect the design/decision here.

> In any case I don't think it needs to block [this implementation](https://chromium-review.googlesource.com/c/chromium/src/+/1799923) as long as we're behind a flag and not really locked in to any decision.

Yeah, agree.

Let's land the implementation, resolve #839 and then resume the discussion here after that.

-- 
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/854#issuecomment-555264929

Received on Monday, 18 November 2019 23:51:58 UTC