Skip to content

Commit

Permalink
Merge pull request #23 from nutboltu/fix/ssr-support
Browse files Browse the repository at this point in the history
fix: both browser and nodejs support
  • Loading branch information
nutboltu committed Aug 26, 2020
2 parents 626ccbf + 2820e1e commit 6497c56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions webpack.production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
path: path.resolve(__dirname, 'dist'),
library: 'ReactSearch',
libraryTarget: 'umd',
globalObject: 'this',
},
resolve: {
extensions: ['.js', '.jsx'],
Expand Down

0 comments on commit 6497c56

Please sign in to comment.