Re: [w3c/webcomponents] Cascading Style Sheet module scripts (#759)

> Given the [security issue raised by Apple](https://github.com/w3ctag/design-reviews/issues/405#issuecomment-535478821), could a concept similar to [Preload's `as` attribute](https://w3c.github.io/preload/#as-attribute) be a way out, so the import can be parsed accordingly?
> 
> ```js
> import styles from "styles.css" as style;
> ```
> 
> Or alternatively more specific naming?
> 
> ```js
> importCSS styles from "styles.css";
> ```

That issue is being discussed over at [this thread](https://github.com/w3c/webcomponents/issues/839), and changes to the import syntax like those suggestions are one of the options being considered.

-- 
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-539629818

Received on Tuesday, 8 October 2019 17:56:20 UTC