- From: Jordan Brennan <notifications@github.com>
- Date: Tue, 19 Feb 2019 21:45:36 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 19 February 2019 21:46:00 UTC
Yeah, both examples - `export = {}` and `export default {}` - are valid js, but not valid JSON because of the export statement. From my limited knowledge on this topic you can already successfully import JSON. I import package.json with no problems. Although I guess I'm `require()`ing it...anyway, just trying learn and was curious why @annevk and others apparently see this as a need. -- 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/770#issuecomment-465323521
Received on Tuesday, 19 February 2019 21:46:00 UTC