Babel preset that includes all stage 3 (candidate) ECMAScript proposal plugins. Version 6.24.1 is the last stable release; the package has been deprecated in favor of using individual plugins or preset-env. It was originally part of the Babel 6 ecosystem and is rarely updated. For modern projects, use @babel/preset-env with appropriate targets instead of stage presets.
npm install babel-preset-stage-3Verified import paths — ran on the pinned version, not inferred.
Basic setup of babel-preset-stage-3 in .babelrc and usage via Node API and CLI.
Use @babel/preset-env with appropriate targets or individual plugins like @babel/plugin-transform-object-rest-spread.
Upgrade to Babel 7+ and replace with @babel/preset-env or specific plugins.
Avoid mixing stage presets with preset-env that also includes those transforms. Prefer using only preset-env.
Use require('babel-preset-stage-3') directly, not require(...).default.Run npm install --save-dev babel-preset-stage-3 and ensure Babel 6 is used.
Install and include babel-polyfill or babel-runtime in your setup.