diff --git a/tools/build/transform/index.ts b/tools/build/transform/index.ts index 105f2628a..ef1d28ec1 100644 --- a/tools/build/transform/index.ts +++ b/tools/build/transform/index.ts @@ -228,6 +228,7 @@ export function transformScript( ] })) .pipe( + catchError(() => EMPTY), switchMap(({ outputFiles: [file] }) => { const contents = file.text.split("\n") const [, data] = contents[contents.length - 2].split(",") @@ -236,7 +237,6 @@ export function transformScript( map: Buffer.from(data, "base64") }) }), - catchError(() => EMPTY), switchMap(({ js, map }) => { const file = digest(options.to, js) return concat(