mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-27 17:00:54 +01:00
Fixed order of operators in build process
This commit is contained in:
parent
2c298e5f50
commit
e1546745db
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user