main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
343 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import resolve from 'rollup-plugin-node-resolve'
|
---|
| 2 | import commonjs from 'rollup-plugin-commonjs'
|
---|
| 3 | import pkg from './package.json'
|
---|
| 4 |
|
---|
| 5 | export default {
|
---|
| 6 | input: `index.js`,
|
---|
| 7 | plugins: [
|
---|
| 8 | commonjs(),
|
---|
| 9 | resolve(),
|
---|
| 10 | ],
|
---|
| 11 | output: [
|
---|
| 12 | {
|
---|
| 13 | file: pkg.main,
|
---|
| 14 | format: `cjs`
|
---|
| 15 | },
|
---|
| 16 | {
|
---|
| 17 | name: 'deepmerge',
|
---|
| 18 | file: 'dist/umd.js',
|
---|
| 19 | format: `umd`
|
---|
| 20 | },
|
---|
| 21 | ],
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.