bottleneck
Version:
Distributed task scheduler and rate limiter
26 lines (23 loc) • 471 B
JavaScript
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import json from 'rollup-plugin-json';
import resolve from 'rollup-plugin-node-resolve';
export default {
input: 'lib/bundle.js',
output: {
name: 'Bottleneck',
file: 'es5.js',
sourcemap: false,
globals: {},
format: 'umd'
},
external: [],
plugins: [
json(),
resolve(),
commonjs(),
babel({
exclude: 'node_modules/**'
})
]
};