Frontend/25_01_07/mai/node_modules/deepmerge/rollup.config.js
szabomarton 7f4a15b9c3 asd
2025-01-28 11:38:27 +01:00

23 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`
},
],
}