From 7abe3fd70f0dd254ad005170b725800161b1354a Mon Sep 17 00:00:00 2001 From: Christoph Neuroth Date: Tue, 26 Aug 2014 10:40:53 +0200 Subject: [PATCH] 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). --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 9a039a84..67e0abbd 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ ], "browser" : { "canvas" : false, + "fs": false, "jsdom": false, "xmldom": false },