mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(vite): explicitly set vite manifest path (#23276)
This commit is contained in:
parent
d7aa6f37af
commit
51d90014cf
@ -66,7 +66,7 @@ export async function buildClient (ctx: ViteBuildContext) {
|
||||
cacheDir: resolve(ctx.nuxt.options.rootDir, 'node_modules/.cache/vite', 'client'),
|
||||
build: {
|
||||
sourcemap: ctx.nuxt.options.sourcemap.client ? ctx.config.build?.sourcemap ?? true : false,
|
||||
manifest: true,
|
||||
manifest: 'manifest.json',
|
||||
outDir: resolve(ctx.nuxt.options.buildDir, 'dist/client'),
|
||||
rollupOptions: {
|
||||
input: { entry: ctx.entry }
|
||||
|
Loading…
Reference in New Issue
Block a user