Responsible JavaScript

Responsible JavaScript

Jeremy Wagner

Your transpiler will need to export two configurations: one with a Browserslist query targeting legacy browsers, and another targeting modern browsers. In the latter case, Babel’s preset-env provides an esmodules option in its targets configuration (http://bkaprt.com/rjs39/05-22).
2697-2701