mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-04 07:42:23 +00:00
make ci also run on windows, re-add css minification
This commit is contained in:
parent
9a0f20012a
commit
429f331c21
3 changed files with 18 additions and 7 deletions
quartz
|
@ -42,11 +42,13 @@ async function buildQuartz(argv: Argv, version: string) {
|
|||
console.log(`Cleaned output directory \`${output}\` in ${perf.timeSince("clean")}`)
|
||||
|
||||
perf.addEvent("glob")
|
||||
const fps = (await globby("**/*.md", {
|
||||
cwd: argv.directory,
|
||||
ignore: cfg.configuration.ignorePatterns,
|
||||
gitignore: true,
|
||||
})).map(fp => fp.split(path.sep).join(path.posix.sep))
|
||||
const fps = (
|
||||
await globby("**/*.md", {
|
||||
cwd: argv.directory,
|
||||
ignore: cfg.configuration.ignorePatterns,
|
||||
gitignore: true,
|
||||
})
|
||||
).map((fp) => fp.split(path.sep).join(path.posix.sep))
|
||||
console.log(
|
||||
`Found ${fps.length} input files from \`${argv.directory}\` in ${perf.timeSince("glob")}`,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue