Skip to content

Commit

Permalink
Move spinner back
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Oct 23, 2019
1 parent ba1e802 commit 25a985f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/next/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ export default async function build(dir: string, conf = null): Promise<void> {
)
}

const buildSpinner = createSpinner({
prefixText: 'Creating an optimized production build',
})

const config = loadConfig(PHASE_PRODUCTION_BUILD, dir, conf)
const { target } = config
const buildId = await generateBuildId(config.generateBuildId, nanoid)
Expand All @@ -113,6 +109,10 @@ export default async function build(dir: string, conf = null): Promise<void> {
}
}

const buildSpinner = createSpinner({
prefixText: 'Creating an optimized production build',
})

const telemetry = new Telemetry({ distDir })

const publicDir = path.join(dir, 'public')
Expand Down

0 comments on commit 25a985f

Please sign in to comment.