Bring back deactivation of Node.js modules on browser.

The require() statements are in the main code, not in the sub-modules!
This commit is contained in:
Jürg Lehni 2017-04-20 11:00:49 +02:00
parent d364c32e6b
commit 91199f19f0

View file

@ -72,6 +72,10 @@
"straps": "^2.1.0"
},
"browser": {
"canvas": false,
"jsdom": false,
"jsdom/lib/jsdom/living/generated/utils": false,
"source-map-support": false,
"./dist/node/self.js": false,
"./dist/node/extend.js": false
},