esm icon indicating copy to clipboard operation
esm copied to clipboard

ESM API?

Open jfparadis opened this issue 6 years ago • 0 comments

Hello @jdalton!

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

  • esm does transpilation and cache at the module level (instead of joining modules together in a bundle).
  • esm is standalone, and its runtime requires much fewer dependencies than babel.

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.

jfparadis avatar Jan 09 '20 20:01 jfparadis