- From: Dan Clark <notifications@github.com>
- Date: Tue, 08 Oct 2019 10:56:17 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 8 October 2019 17:56:20 UTC
> 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