A Babel preset that automatically determines the transforms and polyfills needed for target environments (browsers or Node.js versions) based on browserslist queries. Version 1.7.0 is the last stable release before merging into the Babel monorepo. Deprecated in favor of @babel/preset-env (Babel 7). No longer maintained as a standalone package. Use @babel/preset-env for continued support and updates.
npm install babel-preset-envVerified import paths — ran on the pinned version, not inferred.
Configure babel-preset-env with browserslist targets and useBuiltIns for automatic polyfill inclusion.
Replace 'babel-preset-env' with '@babel/preset-env' and update Babel to v7+.
Use 'entry' or 'usage' (Babel 7) instead of true.
Always set targets to reduce output size and avoid unnecessary transforms.
Add import 'core-js' at app entry when using 'entry' mode.
npm install babel-preset-env --save-dev
Add 'transform-runtime' plugin or ensure core-js polyfill includes regenerator.
Install core-js@2 (or 3) and set 'corejs' option accordingly.
No dependency data recorded yet.