You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a known issue. I do plan to address this along with some other significant upcoming linker work, but it's not a severe issue so I'm working on addressing some other stuff first. See also #475.
Bundling my electron application with the following options:
--bundle --minify --platform=node --packages=external
I noticed a duplicated
require('electron')
statement in the bundled code:main.ts
containsimport { app, BrowserWindow } from 'electron';
app-store.ts
, imported bymain.ts
, containsimport { ipcMain } from 'electron';
In the bundle file, I see:
...e=require("electron");var o=require("electron")...
Is there a way to avoid this?
The text was updated successfully, but these errors were encountered: