team icon indicating copy to clipboard operation
team copied to clipboard

Extend the bundler team scope?

Open xtuc opened this issue 7 years ago • 3 comments

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 avatar Jun 28 '18 19:06 xtuc

@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 ?

sendilkumarn avatar Jul 01 '18 16:07 sendilkumarn

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

xtuc avatar Jul 02 '18 05:07 xtuc

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.

alexcrichton avatar Jul 02 '18 14:07 alexcrichton