NuxtN
Nuxt3y ago
toni

Custom output dir

In Nuxt 2 I had a workflow where I would set the buildDir to ./releases/v{latest-version} and then have a link in that folder
current
to the latest version for NGINX to have a seamless upgrade process.

But now when I set buildDir in Nuxt 3 and run nuxt prepare before the build I run into problems because in tsconfig.json I have hard-coded
{
  "extends": "./.nuxt/tsconfig.json",
}

I could change it, but since the directory name is dynamic, what can I do?

Currently I get
[vite:vue] failed to resolve "extends":"./.nuxt/tsconfig.json" in /webapps/journalistic-pwa/frontend/tsconfig.json
Was this page helpful?