Prerender Ignore Wildcard Path
I have a static nuxt site that uses environment variables that are tokenised into the application during build. On deployment we replace these tokens resulting in no rebuild on deploy.
The tokens look like:
I have tried:
But neither seem to work.
Is there a way to tell nuxt to ignore a wildcarded path during static compile?
The tokens look like:
__VITE_SOMETHING__, they are used for some links on the site. During static build nuxt will traverse these and I get:I have tried:
- Marking
NuxtLink's asexternal - Adding to my
routeRulesthe following:
But neither seem to work.
Is there a way to tell nuxt to ignore a wildcarded path during static compile?