standard-things / esm

Tomorrow's ECMAScript modules today!
Other
5.26k stars 146 forks source link

ESM API? #859

Open jfparadis opened 4 years ago

jfparadis commented 4 years ago

Hello @jdalton!

Has it ever been discussed to provide esm as am API? Here is what's behind the idea:

The idea would be to provide a build process that creates a dist folder that can be used at runtime. The runtime consists of the minimum amount of code require to bootstrap an engine that can work with the dist folder created at build time.

FYI @erights @michaelfig this could help the XS usecase.