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

Pardon my ignorance, but I'm curious why this is needed?

file-a.js
```
export = {
  a: 'a'
}
```

file-b.js
```
export = {
  "b": "b"
}
```
Importing both of those result in the same thing...doesn't it? Why would json need any special treatment? Is this about eliminating the need for `export = ` or support the .json file extension?? Interested in learning more if someone can explain...

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

Received on Tuesday, 19 February 2019 19:59:02 UTC