mercury-parser/rollup.config.js

15 lines
311 B
JavaScript
Raw Normal View History

import babel from 'rollup-plugin-babel'
import babelrc from 'babelrc-rollup'
import commonjs from 'rollup-plugin-commonjs'
2016-08-22 18:53:42 +00:00
export default {
entry: 'src/iris.js',
plugins: [
commonjs(),
babel(babelrc()),
],
2016-08-22 18:53:42 +00:00
format: 'cjs',
dest: 'dist/bundle.js', // equivalent to --output
sourceMap: true,
}