Skip to content

Commit

Permalink
chore: fix rollup config typo and add resolve plugin to package bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad Hasani committed Jan 18, 2019
1 parent d070962 commit 5834fae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ export default [
},
{
input: './tmp/index.js',
externals: ['tslib'],
external: ['tslib'],
output: [
{ file: pkg.module, format: 'es' },
{ file: pkg.main, format: 'cjs' },
],
plugins: [filesize()],
plugins: [resolve(), filesize()],
},
]

0 comments on commit 5834fae

Please sign in to comment.