- Overview of a workflow based on
env: http://2ality.com/2017/07/npm-packages-via-babel.html envhas the optionuseBuiltinsthat helps with polyfilling the standard library: https://github.com/babel/babel-preset-env#usebuiltins
Approach for untranspiled code (meant to be transpiled by Babel and, e.g., webpack):
- No package ever polyfills.