Re: [w3ctag/design-reviews] CSS Modules (#405)

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/w3ctag/design-reviews/issues/405#issuecomment-535481636

Received on Thursday, 26 September 2019 12:34:47 UTC