- From: Matthew Phillips <notifications@github.com>
- Date: Mon, 09 Sep 2019 17:37:52 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 September 2019 00:38:14 UTC
I agree with the above, this is expected given the semantics of modules. You also can't do `import { deep } from './resource.json';`. This is actually a little nicer with dynamic import because at least you can destruct there: `const { deep } = (await import('./resource.json')).default;` -- 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/835#issuecomment-529719186
Received on Tuesday, 10 September 2019 00:38:14 UTC