Skip to content

Commit 3ce9913

Browse files
authored
Merge pull request #86 from lycan-city/fix/webpack-failing
Fix: Setting this as the global object in build
2 parents 0d4ffdd + 8033687 commit 3ce9913

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "werewolf-brain",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "Werewolf game brain",
55
"main": "./dist/index.js",
66
"scripts": {

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
filename: 'index.js',
1010
library: 'werewolf-brain',
1111
libraryTarget: 'umd',
12+
globalObject: 'this',
1213
},
1314
module: {
1415
rules: [

0 commit comments

Comments
 (0)