mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03: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(
|
.pipe(
|
||||||
|
catchError(() => EMPTY),
|
||||||
switchMap(({ outputFiles: [file] }) => {
|
switchMap(({ outputFiles: [file] }) => {
|
||||||
const contents = file.text.split("\n")
|
const contents = file.text.split("\n")
|
||||||
const [, data] = contents[contents.length - 2].split(",")
|
const [, data] = contents[contents.length - 2].split(",")
|
||||||
@ -236,7 +237,6 @@ export function transformScript(
|
|||||||
map: Buffer.from(data, "base64")
|
map: Buffer.from(data, "base64")
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
catchError(() => EMPTY),
|
|
||||||
switchMap(({ js, map }) => {
|
switchMap(({ js, map }) => {
|
||||||
const file = digest(options.to, js)
|
const file = digest(options.to, js)
|
||||||
return concat(
|
return concat(
|
||||||
|
Loading…
Reference in New Issue
Block a user