prevent loading the the fs module in the browser

while browserify uses an empty module for `fs` by default, webpack does
not and will refuse to bundle fabric (previous versions of webpack did
bundle it, but that was considered a bug in webpack which was recently
fixed (webpack/webpack#411).
This commit is contained in:
Christoph Neuroth 2014-08-26 10:40:53 +02:00
parent fbc9f21a1d
commit 7abe3fd70f

View file

@ -16,6 +16,7 @@
],
"browser" : {
"canvas" : false,
"fs": false,
"jsdom": false,
"xmldom": false
},