Improve check error performance by off-loading to worker thread w/ incremental compilation (#575)
This commit is contained in:
@@ -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: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user