mirror of
https://github.com/postlight/mercury-parser
synced 2024-11-17 03:25:31 +00:00
7d88fee199
extraction methods
15 lines
311 B
JavaScript
15 lines
311 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/bundle.js', // equivalent to --output
|
|
sourceMap: true,
|
|
}
|