Skip to content

Commit e154674

Browse files
committed
Fixed order of operators in build process
1 parent 2c298e5 commit e154674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build/transform/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ export function transformScript(
228228
]
229229
}))
230230
.pipe(
231+
catchError(() => EMPTY),
231232
switchMap(({ outputFiles: [file] }) => {
232233
const contents = file.text.split("\n")
233234
const [, data] = contents[contents.length - 2].split(",")
@@ -236,7 +237,6 @@ export function transformScript(
236237
map: Buffer.from(data, "base64")
237238
})
238239
}),
239-
catchError(() => EMPTY),
240240
switchMap(({ js, map }) => {
241241
const file = digest(options.to, js)
242242
return concat(

0 commit comments

Comments
 (0)