Skip to content

Commit e558b12

Browse files
authored
Merge pull request #153 from Ohar/master
Fix problem with webpack build for browser
2 parents 86ff70e + 83efa1d commit e558b12

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@
2020
"lib": "./lib",
2121
"example": "./example"
2222
},
23-
"main": "./lib/XMLHttpRequest.js"
23+
"main": "./lib/XMLHttpRequest.js",
24+
"browser": {
25+
"fs": false,
26+
"child_process": false
27+
}
2428
}

0 commit comments

Comments
 (0)