mercury-parser/rollup.config.js
Adam Pash 629eada1f7 feat: recording/playing back network requests with nock (#18)
* feat: recording/playing back network requests with nock

* lint fix
2016-10-28 14:54:12 -07:00

19 lines
478 B
JavaScript

/* eslint-disable import/no-extraneous-dependencies */
import babel from 'rollup-plugin-babel';
import babelrc from 'babelrc-rollup'; // eslint-disable-line import/extensions
import commonjs from 'rollup-plugin-commonjs';
const babelOpts = babelrc();
babelOpts.runtimeHelpers = true;
export default {
entry: 'src/mercury.js',
plugins: [
commonjs(),
babel(babelOpts),
],
format: 'cjs',
dest: 'dist/mercury.js', // equivalent to --output
sourceMap: true,
};