mirror of
https://github.com/alrayyes/wiki.git
synced 2025-04-30 06:14:13 +00:00
make component resources a proper emitter
This commit is contained in:
parent
236ba56be1
commit
4811500b1b
7 changed files with 163 additions and 177 deletions
quartz
|
@ -82,8 +82,8 @@ const BuildArgv = {
|
|||
bundleInfo: {
|
||||
boolean: true,
|
||||
default: false,
|
||||
describe: "show detailed bundle information"
|
||||
}
|
||||
describe: "show detailed bundle information",
|
||||
},
|
||||
}
|
||||
|
||||
function escapePath(fp) {
|
||||
|
@ -351,9 +351,9 @@ See the [documentation](https://quartz.jzhao.xyz) for how to get started.
|
|||
console.log(
|
||||
`Successfully transpiled ${Object.keys(meta.inputs).length} files (${prettyBytes(
|
||||
meta.bytes,
|
||||
)})`)
|
||||
console.log(await esbuild.analyzeMetafile(result.metafile, { color: true })
|
||||
)})`,
|
||||
)
|
||||
console.log(await esbuild.analyzeMetafile(result.metafile, { color: true }))
|
||||
}
|
||||
|
||||
const { default: buildQuartz } = await import(cacheFile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue