This plugin is included in @babel/preset-env, in ES2020| babeljs.io
Blog| babeljs.io
All transformations will use your local configuration files.| babeljs.io
- Primary options| babeljs.io
Babel can be configured! Many other tools have similar configs: ESLint (.eslintrc), Prettier (.prettierrc).| babeljs.io
Configuration File Types| babeljs.io
This preset is recommended if you use TypeScript, a typed superset of JavaScript. It includes the following plugins:| babeljs.io
Example| babeljs.io
@babel/preset-env is a smart preset that allows you to use the latest JavaScript without needing to micromanage which syntax transforms (and optionally, browser polyfills) are needed by your target environment(s). This both makes your life easier and JavaScript bundles smaller!| babeljs.io