setup-node/node_modules/deepmerge/rollup.config.js
Danny McCormick 5273d0df9c Add auth
2019-08-06 18:29:44 -04:00

22 lines
343 B
JavaScript

import resolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'
import pkg from './package.json'
export default {
input: `index.js`,
plugins: [
commonjs(),
resolve(),
],
output: [
{
file: pkg.main,
format: `cjs`
},
{
name: 'deepmerge',
file: 'dist/umd.js',
format: `umd`
},
],
}