Re: [w3c/webcomponents] JSON "modules" (#770)

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