fix/ require error with nodeIntegration = false

This commit is contained in:
Maxime GRIS
2020-08-12 21:07:12 +02:00
parent e0327292ce
commit 61c5c6b2e4

View File

@@ -21,7 +21,7 @@
"scripts": { "scripts": {
"postinstall": "electron-builder install-app-deps", "postinstall": "electron-builder install-app-deps",
"ng": "ng", "ng": "ng",
"start": "npm-run-all -p electron:serve ng:serve", "start": "npm-run-all -p electron:serve ng:serve:web",
"build": "npm run electron:serve-tsc && ng build --base-href ./", "build": "npm run electron:serve-tsc && ng build --base-href ./",
"build:dev": "npm run build -- -c dev", "build:dev": "npm run build -- -c dev",
"build:prod": "npm run build -- -c production", "build:prod": "npm run build -- -c production",