feat(FN-3748): add workspace aliases for @fusion/* packages to desktop vite

Fixes a duplicate import in the roadmap plugin and adds `@fusion/*` workspace aliases to the desktop vitest configuration so tests can resolve internal packages correctly.

Fusion-Task-Id: FN-3748
This commit is contained in:
Fusion
2026-05-08 10:57:47 -07:00
committed by gsxdsm
parent c17aba7031
commit b852401e2b
4 changed files with 13 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ export function isStaleChunkError(error: unknown): boolean {
: typeof error === "string"
? error
: "";
return /Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|is not a valid JavaScript MIME type|ChunkLoadError/i.test(
return /Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|is not a valid JavaScript MIME type|ChunkLoadError|Unable to preload (?:CSS|module) for/i.test(
message,
);
}