Bundle everything with rolldown

This commit is contained in:
Fedor Indutny
2026-03-30 12:42:37 -07:00
committed by GitHub
parent 8c06ad52ab
commit a27f0ad3e1
2317 changed files with 22723 additions and 63514 deletions

View File

@@ -11,10 +11,10 @@ import z from 'zod';
import split2 from 'split2';
import logSymbols from 'log-symbols';
import { explodePromise } from '../util/explodePromise.std.js';
import { missingCaseError } from '../util/missingCaseError.std.js';
import { SECOND } from '../util/durations/index.std.js';
import { parseUnknown } from '../util/schemas.std.js';
import { explodePromise } from '../util/explodePromise.std.ts';
import { missingCaseError } from '../util/missingCaseError.std.ts';
import { SECOND } from '../util/durations/index.std.ts';
import { parseUnknown } from '../util/schemas.std.ts';
const ROOT_DIR = join(__dirname, '..', '..');
@@ -100,6 +100,8 @@ async function launchElectron(
SIGNAL_CI_CONFIG: JSON.stringify({
storagePath,
}),
// Necessary for `tsx` to work in preload (there are no worker_threads)
ESBUILD_WORKER_THREADS: '0',
},
// Since we run `.cmd` file on Windows - use shell
shell: process.platform === 'win32',