Skip to content

Commit

Permalink
chore(config): add rollup config file
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkerd committed Jun 14, 2019
1 parent 50b3cbc commit 17352e5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import pkg from './package.json';

export default [
{
input: 'src/index.js',
external: ['lodash'],
output: [
{
file: pkg.main,
format: 'cjs',
interop: false,
esModule: false,
preferConst: true,
strict: true,
},
{ file: pkg.module, format: 'es' },
],
},
];

0 comments on commit 17352e5

Please sign in to comment.