Use esbuild

This commit is contained in:
Fedor Indutny 2022-02-11 13:38:52 -08:00 committed by GitHub
parent 3c1ccce9bd
commit 0174687542
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 528 additions and 906 deletions

View file

@ -480,9 +480,9 @@ async function createWindow() {
contextIsolation: false,
preload: join(
__dirname,
enableCI || getEnvironment() === Environment.Production
? '../preload.bundle.js'
: '../preload.js'
isTestEnvironment(getEnvironment())
? '../preload.js'
: '../preload.bundle.js'
),
nativeWindowOpen: true,
spellcheck: await getSpellCheckSetting(),