Registry / devops / babel-preset-es2015-minimal-rollup

babel-preset-es2015-minimal-rollup

JSON →
library2.1.1jsnpmunverified

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.

npm install babel-preset-es2015-minimal-rollup
INSTALL
IMPORT
SIG · BABEL-PRESET-ES201
B
babel-preset-es2015-minimal-rollup
devopsjavascriptv2.1.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
module.exports = { presets: ['es2015-minimal-rollup'] }
import presets from 'babel-preset-es2015-minimal-rollup'
This is a CommonJS preset; use string name in .babelrc or babel config.

Shows how to configure the preset in .babelrc to transpile ES2015 to ES5 for Rollup.

// .babelrc { "presets": ["es2015-minimal-rollup"] }
Debug
Known issues
deprecatedPackage is deprecated and no longer maintained; use @babel/preset-env instead.
fix
Replace with @babel/preset-env and configure targets for Rollup.
affects: >=0.0.0
breakingOnly works with Babel 6, not Babel 7+.
fix
Upgrade to Babel 7 and use @babel/preset-env.
affects: >=2.0.0
gotchaRequires babel-preset-es2015 as a peer dependency; must be installed separately.
fix
Run npm install --save babel-preset-es2015 alongside this preset.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Preset "es2015-minimal-rollup" not found
Missing preset installation or incorrect preset name.
fix
Ensure both babel-preset-es2015 and babel-preset-es2015-minimal-rollup are installed.
ReferenceError: require is not defined (in browser)
Attempting to use require() in a browser context without bundling.
fix
Use .babelrc configuration or babel API in Node.js environment.
Upgrade
Version history
2.1.1latest on npm
Audit
Dependencies
babel-preset-es2015requiredPeer dependency required for the actual ES2015 transformation plugins.
Agent activity
17 hits · last 30 days
node
12
OpenAI (training)
2
Resources
babel-preset-es2015-minimal-rollup — npm install babel-preset-es2015-minimal-rollup · libregistry