fix: Issue with build templates
This commit is contained in:
parent
6dadf62370
commit
c959858e6c
163 changed files with 8897 additions and 9074 deletions
|
@ -24,11 +24,12 @@ const options = {
|
|||
}
|
||||
|
||||
// Let esbuild generate the build
|
||||
let result = null(async () => {
|
||||
result = await esbuild.build(options).catch(() => process.exit(1))
|
||||
const build = async () => {
|
||||
const result = await esbuild.build(options).catch(() => process.exit(1))
|
||||
|
||||
if (process.env.VERBOSE) {
|
||||
const info = await esbuild.analyzeMetafile(result.metafile)
|
||||
console.log(info)
|
||||
}
|
||||
})()
|
||||
}
|
||||
build()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue