Skip to content

Commit 83efa1d

Browse files
committed
Fix problem with webpack build for browser
webpack/webpack#744
1 parent 86ff70e commit 83efa1d

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)