Skip to content

Commit

Permalink
fix(rollup): use named export
Browse files Browse the repository at this point in the history
  • Loading branch information
moklick committed Oct 8, 2019
1 parent 722ecd7 commit 13391af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default [{
file: pkg.browser,
format: 'umd',
sourcemap: isProd,
exports: 'named',
globals: {
react: 'React'
}
Expand All @@ -55,7 +56,7 @@ export default [{
onwarn,
output: {
file: pkg.module,
format: 'esm',
format: 'esm'
},
plugins: [
bundleSize(),
Expand Down

0 comments on commit 13391af

Please sign in to comment.