Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 0cc867e

Browse files
authored
Merge pull request #263 from chibat/outputDir
fix for outputDir
2 parents 310132d + 5ca3e1e commit 0cc867e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/app.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,12 +763,13 @@ export class Application implements ServerApplication {
763763
/** build the application to a static site(SSG) */
764764
async build() {
765765
const start = performance.now()
766-
const outputDir = this.outputDir
767-
const distDir = join(outputDir, '_aleph')
768766

769767
// wait for app ready
770768
await this.ready
771769

770+
const outputDir = this.outputDir
771+
const distDir = join(outputDir, '_aleph')
772+
772773
// clear previous build
773774
if (existsDirSync(outputDir)) {
774775
for await (const entry of Deno.readDir(outputDir)) {

0 commit comments

Comments
 (0)