* use "env" preset instead of "es2015" preset * configure "env" preset if data-type="module" is given
@babel/standalone
Standalone build of Babel for use in non-Node.js environments.
See our website @babel/standalone for more information or the issues associated with this package.
Install
Using npm:
npm install --save-dev @babel/standalone
or using yarn:
yarn add @babel/standalone --dev