Skip to content

Commit

Permalink
fix(cli): prerender before main build
Browse files Browse the repository at this point in the history
allowing all static assets meta to be visible to public-assets + nicer DX
  • Loading branch information
pi0 committed Apr 7, 2022
1 parent e95b9d9 commit 9388b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ async function main () {
})
await prepare(nitro)
await copyPublicAssets(nitro)
await build(nitro)
await prerender(nitro)
await build(nitro)
await nitro.close()
process.exit(0)
}
Expand Down

0 comments on commit 9388b7d

Please sign in to comment.