We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nitro.static
_generate
1 parent 54555fa commit c4df59dCopy full SHA for c4df59d
src/utils/configuration.ts
@@ -51,7 +51,7 @@ export function configure(ctx: HttpClientHintsContext, nuxt: Nuxt) {
51
}
52
53
54
- const clientOnly = nuxt.options._generate || !nuxt.options.ssr
+ const clientOnly = nuxt.options.nitro.static || (nuxt.options as any)._generate /* TODO: remove in future */ || !nuxt.options.ssr
55
56
// we register the client detector only if needed and not in SSR mode
57
if ((options.detectBrowser || options.detectOS || resolvedOptions.userAgent.length) && clientOnly) {
0 commit comments