2017-06-08 01:20:48 +03:00
|
|
|
import baseConfig from './rollup.base.config.js';
|
2017-05-29 07:49:41 +03:00
|
|
|
import resolve from 'rollup-plugin-node-resolve';
|
|
|
|
import commonjs from 'rollup-plugin-commonjs';
|
|
|
|
import json from 'rollup-plugin-json';
|
|
|
|
|
2017-06-08 01:20:48 +03:00
|
|
|
export default Object.assign(baseConfig, {
|
2017-05-29 07:49:41 +03:00
|
|
|
entry: 'index.js',
|
|
|
|
dest: 'dist/index.js',
|
|
|
|
format: 'cjs',
|
2017-06-08 01:20:48 +03:00
|
|
|
plugins: [json(), resolve({ preferBuiltins: true }), commonjs()],
|
2017-05-29 07:49:41 +03:00
|
|
|
external: ['assert'],
|
2017-06-08 01:20:48 +03:00
|
|
|
});
|