mirror of
https://github.com/postlight/mercury-parser
synced 2024-10-31 03:20:40 +00:00
15 lines
309 B
JavaScript
15 lines
309 B
JavaScript
import babel from 'rollup-plugin-babel'
|
|
import babelrc from 'babelrc-rollup'
|
|
import commonjs from 'rollup-plugin-commonjs'
|
|
|
|
export default {
|
|
entry: 'src/iris.js',
|
|
plugins: [
|
|
commonjs(),
|
|
babel(babelrc()),
|
|
],
|
|
format: 'cjs',
|
|
dest: 'dist/iris.js', // equivalent to --output
|
|
sourceMap: true,
|
|
}
|