GoScrobble/web/node_modules/deepmerge/rollup.config.js

18 lines
325 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
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' },
],
}