diff --git a/shared-scripts/angular-linker/esbuild-plugin.mjs b/shared-scripts/angular-linker/esbuild-plugin.mjs index 8c5a2f244..965a10e11 100644 --- a/shared-scripts/angular-linker/esbuild-plugin.mjs +++ b/shared-scripts/angular-linker/esbuild-plugin.mjs @@ -60,6 +60,8 @@ export async function createLinkerEsbuildPlugin( logger: new ConsoleLogger(LogLevel.warn), // We enable JIT mode as unit tests also will rely on the linked ESM files. linkerJitMode: true, + // Workaround for https://github.com/angular/angular/issues/42769 and https://github.com/angular/angular-cli/issues/22647. + sourceMapping: false, ...linkerOptions, });