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.
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.