File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,25 +138,26 @@ class WebpackOptionsApply extends OptionsApply {
138138 "app" ,
139139 "auto-updater" ,
140140 "browser-window" ,
141+ "clipboard" ,
141142 "content-tracing" ,
143+ "crash-reporter" ,
142144 "dialog" ,
143145 "electron" ,
144146 "global-shortcut" ,
145147 "ipc" ,
146148 "ipc-main" ,
147149 "menu" ,
148150 "menu-item" ,
151+ "native-image" ,
152+ "original-fs" ,
149153 "power-monitor" ,
150154 "power-save-blocker" ,
151155 "protocol" ,
156+ "screen" ,
152157 "session" ,
153- "web-contents " ,
158+ "shell " ,
154159 "tray" ,
155- "clipboard" ,
156- "crash-reporter" ,
157- "native-image" ,
158- "screen" ,
159- "shell"
160+ "web-contents"
160161 ] ) . apply ( compiler ) ;
161162 new LoaderTargetPlugin ( options . target ) . apply ( compiler ) ;
162163 break ;
@@ -168,17 +169,18 @@ class WebpackOptionsApply extends OptionsApply {
168169 new FunctionModulePlugin ( options . output ) . apply ( compiler ) ;
169170 new NodeTargetPlugin ( ) . apply ( compiler ) ;
170171 new ExternalsPlugin ( "commonjs" , [
172+ "clipboard" ,
173+ "crash-reporter" ,
171174 "desktop-capturer" ,
172175 "electron" ,
173176 "ipc" ,
174177 "ipc-renderer" ,
175- "remote" ,
176- "web-frame" ,
177- "clipboard" ,
178- "crash-reporter" ,
179178 "native-image" ,
179+ "original-fs" ,
180+ "remote" ,
180181 "screen" ,
181- "shell"
182+ "shell" ,
183+ "web-frame"
182184 ] ) . apply ( compiler ) ;
183185 new LoaderTargetPlugin ( options . target ) . apply ( compiler ) ;
184186 break ;
You can’t perform that action at this time.
0 commit comments