mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-20 16:25:55 +00:00
fix(nuxt): ignore prerendering unprefixed public assets
This commit is contained in:
parent
eb84b5e777
commit
7a4cdbc67a
@ -162,6 +162,7 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
|
|||||||
.map(dir => ({ dir })),
|
.map(dir => ({ dir })),
|
||||||
],
|
],
|
||||||
prerender: {
|
prerender: {
|
||||||
|
ignoreUnprefixedPublicAssets: true,
|
||||||
failOnError: true,
|
failOnError: true,
|
||||||
concurrency: cpus().length * 4 || 4,
|
concurrency: cpus().length * 4 || 4,
|
||||||
routes: ([] as string[]).concat(nuxt.options.generate.routes),
|
routes: ([] as string[]).concat(nuxt.options.generate.routes),
|
||||||
|
Loading…
Reference in New Issue
Block a user