Skip to content

Commit

Permalink
fix: universal packaging for node and browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr Shugaev authored and alisd23 committed Mar 25, 2019
1 parent a4410d5 commit 5d110e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ module.exports = {
: 'mobx-react-router.js',
library: libraryName,
libraryTarget: 'umd',
umdNamedDefine: true
umdNamedDefine: true,
globalObject: 'this'
},
optimization: {
minimize: shouldMinify
Expand Down

0 comments on commit 5d110e8

Please sign in to comment.