Re: [w3c/webcomponents] CSS Modules (#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";
```


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

Received on Thursday, 26 September 2019 12:57:06 UTC