Delivering untranspiled source code via npm

The idea of babel-preset-env is brilliant: write JavaScript with stage 4 features (or earlier stages, if you want to take that risk) and transpile it so that it is an exact fit for your target platform(s).
However, at the moment, preset-env only works for your own app, but not for your dependencies, which are normally already transpiled.
This blog post shows how package authors and package users can use the package.json property esnext to work with untranspiled source code in npm packages. The code is available in the repository esnext-demo on GitHub.
[Read rest of post]

Link: http://feedproxy.google.com/~r/2ality/~3/7wv8FTguFuA/pkg-esnext.html