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.

17 lines
325 B

4 years ago
  1. import resolve from 'rollup-plugin-node-resolve'
  2. import commonjs from 'rollup-plugin-commonjs'
  3. var pkg = require('./package.json')
  4. export default {
  5. input: 'index.js',
  6. name: 'deepmerge',
  7. plugins: [
  8. commonjs(),
  9. resolve(),
  10. ],
  11. output: [
  12. { file: pkg.main, format: 'umd' },
  13. { file: pkg.module, format: 'es' },
  14. ],
  15. }