Skip to content

Commit

Permalink
Merge pull request #130 from zakjan/fix-build
Browse files Browse the repository at this point in the history
Bundle can't be imported in non-browser environments since 0.15.0
  • Loading branch information
Yomguithereal committed Mar 12, 2020
2 parents c8fae69 + 46611d5 commit 1ac5467
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/graphology.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/graphology.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ module.exports = {
filename: production ? 'graphology.min.js' : 'graphology.js',
path: path.join(__dirname, 'build'),
library: 'graphology',
libraryTarget: 'umd'
libraryTarget: 'umd',
globalObject: 'this'
},
module: {
rules: [
Expand Down

0 comments on commit 1ac5467

Please sign in to comment.