Not having asar in externals causes some weird error

This commit is contained in:
Jiiks 2019-02-18 12:03:54 +02:00
parent 111be57b59
commit b5e8098d20
2 changed files with 11 additions and 3 deletions

View File

@ -33,6 +33,7 @@ module.exports = {
},
externals: {
electron: 'require("electron")',
asar: 'require("asar")',
fs: 'require("fs")',
path: 'require("path")',
util: 'require("util")',

13
package-lock.json generated
View File

@ -2039,6 +2039,11 @@
"integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=",
"dev": true
},
"child_process": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/child_process/-/child_process-1.0.2.tgz",
"integrity": "sha1-sffn/HPSXn/R1FWtyU4UODAYK1o="
},
"chokidar": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.2.tgz",
@ -2828,9 +2833,6 @@
"randomfill": "1.0.4"
}
},
"csp-parse": {
"version": "github:macropodhq/csp-parse#db7d5f954b420b527d7fb452a93bb6e2fa302c5a"
},
"css-color-names": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",
@ -9899,6 +9901,11 @@
}
}
},
"original-fs": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/original-fs/-/original-fs-1.0.0.tgz",
"integrity": "sha512-X/sHggGgmoyG3plMSAZcyehbBNnADefp2uN+ahSP2OV+HjCCS4p997yDL0kC5YSHPIp9eTEfezWulEQgvx1TIQ=="
},
"os-browserify": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",