mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
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:
parent
d364c32e6b
commit
91199f19f0
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue