Skip to content

Commit

Permalink
fix(analyze): set path for client analyze results (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Nov 3, 2023
1 parent 3401917 commit b29de19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/commands/analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ export default defineCommand({
const outDir =
nuxt.options.nitro.output?.dir || join(nuxt.options.rootDir, '.output')

nuxt.options.build.analyze.filename =
nuxt.options.build.analyze.filename || join(analyzeDir, 'client.html')

await clearDir(analyzeDir)
await buildNuxt(nuxt)

Expand Down

0 comments on commit b29de19

Please sign in to comment.