{"id":20992,"library":"babel-preset-es2015-minimal-rollup","title":"babel-preset-es2015-minimal-rollup","description":"A lightweight Babel 6 preset for transpiling ES2015 (ES6) to ES5 in loose mode, specifically optimized for Rollup bundlers. Version 2.1.1 is the current stable release; the package is deprecated and no longer maintained. It reduces the overhead of the full babel-preset-es2015 by removing frills, making it ideal for tree-shaking with Rollup. Key differentiator: minimal configuration with loose mode transforms to produce smaller Rollup output, unlike the standard preset.","status":"deprecated","version":"2.1.1","language":"javascript","source_language":"en","source_url":"https://github.com/developit/babel-preset-es2015-minimal-rollup","tags":["javascript"],"install":[{"cmd":"npm install babel-preset-es2015-minimal-rollup","lang":"bash","label":"npm"},{"cmd":"yarn add babel-preset-es2015-minimal-rollup","lang":"bash","label":"yarn"},{"cmd":"pnpm add babel-preset-es2015-minimal-rollup","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency required for the actual ES2015 transformation plugins.","package":"babel-preset-es2015","optional":false}],"imports":[{"note":"This is a CommonJS preset; use string name in .babelrc or babel config.","wrong":"import presets from 'babel-preset-es2015-minimal-rollup'","symbol":"default","correct":"module.exports = { presets: ['es2015-minimal-rollup'] }"}],"quickstart":{"code":"// .babelrc\n{\n  \"presets\": [\"es2015-minimal-rollup\"]\n}","lang":"javascript","description":"Shows how to configure the preset in .babelrc to transpile ES2015 to ES5 for Rollup."},"warnings":[{"fix":"Replace with @babel/preset-env and configure targets for Rollup.","message":"Package is deprecated and no longer maintained; use @babel/preset-env instead.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Upgrade to Babel 7 and use @babel/preset-env.","message":"Only works with Babel 6, not Babel 7+.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Run npm install --save babel-preset-es2015 alongside this preset.","message":"Requires babel-preset-es2015 as a peer dependency; must be installed separately.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Ensure both babel-preset-es2015 and babel-preset-es2015-minimal-rollup are installed.","cause":"Missing preset installation or incorrect preset name.","error":"Error: Preset \"es2015-minimal-rollup\" not found"},{"fix":"Use .babelrc configuration or babel API in Node.js environment.","cause":"Attempting to use require() in a browser context without bundling.","error":"ReferenceError: require is not defined (in browser)"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}