Skip to content

Commit

Permalink
fix(rollup): force named exports while generating CommonJS dist
Browse files Browse the repository at this point in the history
  • Loading branch information
siarhei.fedarovich committed Dec 28, 2019
1 parent f3737a1 commit 30606b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export default {
output: [
{
dir: "dist/cjs",
format: "cjs"
format: "cjs",
exports: "named"
},
{
dir: "dist/esm",
Expand Down

0 comments on commit 30606b1

Please sign in to comment.