- From: Caridy Patiño <notifications@github.com>
- Date: Wed, 17 Jan 2018 21:28:43 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 17 January 2018 21:29:08 UTC
Node is a good example where a CJS module in node is evaluated as a function body. This has been, without doubt, the biggest roadblock from the adoption/interoperability of ESM with CJS. I don't think we should even consider this option because it breaks the user-intuition about what's going on in the script tag. I can imagine devs adding some const outside of the class declaration, and boom! it stops working and the dev will have no clue. -- 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/commit/d3f89c8fd0f95f3baae6c4aecfb9730eeb2ec59b#commitcomment-26923263
Received on Wednesday, 17 January 2018 21:29:08 UTC