Improve check error performance by off-loading to worker thread w/ incremental compilation (#575)

This commit is contained in:
Will Chen
2025-07-07 12:47:33 -07:00
committed by GitHub
parent 97b5c29f11
commit bc38f9b2d7
22 changed files with 695 additions and 396 deletions

View File

@@ -22,7 +22,8 @@ const ignore = (file: string) => {
if (file.startsWith("/scaffold")) {
return false;
}
if (file.startsWith("/worker")) {
if (file.startsWith("/worker") && !file.startsWith("/workers")) {
return false;
}
if (file.startsWith("/node_modules/stacktrace-js")) {
@@ -121,6 +122,11 @@ const config: ForgeConfig = {
config: "vite.preload.config.mts",
target: "preload",
},
{
entry: "workers/tsc/tsc_worker.ts",
config: "vite.worker.config.mts",
target: "main",
},
],
renderer: [
{