nuxt/cli

`analyze` ignores `build.analyze.template` option

Closed this issue · 1 comments

Issue

I tried to use nuxi analyze to generate a different template. But regardless of what I set, it will still use the default template.

Reproduction

On nuxt 3.7.4:
https://github.com/madebyfabian/nuxt-analyze-reprod

I also noticed that one of the types is unresolved, which makes the build.analyze option resolve to any:
F7V28ipXEAAyszG


Further Info:

See https://twitter.com/madebyfabian/status/1708402618895065429

It seems to generate stats.yml during nuxt build with the following nuxt config:-

  build: {
    analyze: {
      template: 'list',
    },
  },