1
0
Fork 0
mirror of https://github.com/actions/setup-node synced 2024-12-24 14:12:41 +00:00
setup-node/node_modules/deepmerge/rollup.config.js

23 lines
343 B
JavaScript
Raw Normal View History

2019-08-05 19:18:52 +00:00
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`
},
],
}