Ignore "fs" module in browser environments

This commit is contained in:
Sami Kukkonen
2017-12-21 13:09:21 +08:00
committed by Jun Yang
parent 3153f1d4bb
commit 4cbfa6d204
+3
View File
@@ -33,6 +33,9 @@
"dependencies": {
"any-promise": "^1.3.0"
},
"browser": {
"fs": false
},
"devDependencies": {
"babel-preset-es2015": "^6.24.1",
"babelify": "^7.3.0",