Extend the bundler team scope?
We recently had many discussion about the differences between JS module systems (CJS or ESM) in both Webpack and Nodejs (I feel like we should write a document to clarify the situation).
Node will be a common target with wasm-pack and some team needs to cover that. I would like to extend the bundler scope to include every JS platform that will or has support for ESM.
cc @sendilkumarn
As a side note, i'm part of the ESM Node working group, i'm working closely on getting wasm on Node with ESM.
@xtuc that is brilliant, I would love to see that document with so many questions and issues on this particular topic. Let me know once you have some draft or outline we can complete it.
i'm part of the ESM Node working group
👍 Do we have any timeline for the ESM in Node ?
There's no real timeline for ESM in Node but here's an idea: https://github.com/nodejs/modules/issues/123. Also Node v10 started shipping an experimental flag to enable it.
Maybe we should discuss about the scope of the team at the next meeting cc @rustwasm/core
This seems like a good idea to me! Especially because Node right now doesn't support ESM it seems like some sort of preprocessing may be required for node.