Skip to content

Commit

Permalink
fix(react): merge options.output.globals with extraGlobals (#4571)
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #3789
  • Loading branch information
wolfhoundjesse committed Jan 25, 2021
1 parent a25e081 commit 852d739
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/react/plugins/bundle-rollup.ts
Expand Up @@ -15,7 +15,10 @@ function getRollupOptions(options: rollup.RollupOptions) {
} else {
options.output = {
...options.output,
...extraGlobals,
globals: {
...options.output.globals,
...extraGlobals,
},
};
}
return options;
Expand Down

0 comments on commit 852d739

Please sign in to comment.