Skip to content

Commit 962e390

Browse files
committed
add electron to both electron and electron-renderer target
1 parent 67656b9 commit 962e390

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/WebpackOptionsApply.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
128128
"browser-window",
129129
"content-tracing",
130130
"dialog",
131+
"electron",
131132
"global-shortcut",
132133
"ipc",
133134
"menu",
@@ -161,6 +162,7 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
161162
"browser-window",
162163
"content-tracing",
163164
"dialog",
165+
"electron",
164166
"global-shortcut",
165167
"ipc",
166168
"menu",

0 commit comments

Comments
 (0)