rollup-plugin-babel-runtime-external
Rollup plugin to automatically exclude babel-runtime from your bundle.
Install
npm install --save-dev rollup-plugin-babel-runtime-external
Usage
rollup.config.js
Example ; input: 'index.js' plugins: ;
rollup.config.js
with options
Example ; input: 'index.js' plugins: ;
rollup.config.js
with external
Example rollup-plugin-babel-runtime-external
does not overwrite the external option. The two can happily coexist.
; input: 'index.js' external: 'react' plugins: ;
Options
helpers
boolean
: defaults to true
polyfill
boolean
: defaults to true
regenerator
boolean
: defaults to true