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.
1 parent 2087832 commit 097670cCopy full SHA for 097670c
packages/vite/src/node/build.ts
@@ -497,7 +497,13 @@ export async function resolveBuildPlugins(config: ResolvedConfig): Promise<{
497
? [
498
config.build.manifest && enableNativePlugin
499
? // TODO: make this environment-specific
500
- nativeManifestPlugin()
+ nativeManifestPlugin({
501
+ root: config.root,
502
+ outPath:
503
+ config.build.manifest === true
504
+ ? '.vite/manifest.json'
505
+ : config.build.manifest,
506
+ })
507
: manifestPlugin(),
508
ssrManifestPlugin(),
509
...(enableBuildReport ? [buildReporterPlugin(config)] : []),
0 commit comments