From e1546745db2bc250c1133156350aa30a4f75fbe1 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 9 Apr 2022 17:24:24 +0200 Subject: [PATCH] Fixed order of operators in build process --- tools/build/transform/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(