You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
363 B
19 lines
363 B
4 weeks ago
|
import resolve from 'rollup-plugin-node-resolve'
|
||
|
import commonjs from 'rollup-plugin-commonjs'
|
||
|
|
||
|
var pkg = require('./package.json')
|
||
|
|
||
|
export default {
|
||
|
input: 'index.js',
|
||
|
name: 'deepmerge',
|
||
|
plugins: [
|
||
|
commonjs(),
|
||
|
resolve()
|
||
|
],
|
||
|
output: [
|
||
|
{ file: pkg.main, format: 'umd' },
|
||
|
{ file: pkg.module, format: 'es' },
|
||
|
{ file: pkg.browser, format: 'cjs' },
|
||
|
]
|
||
|
}
|