Skip to content

Commit

Permalink
fix(worker): disable build reporter plugin when bundling worker (vite…
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored and futurGH committed Feb 26, 2023
1 parent 7fa6762 commit 8b3d006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/build.ts
Expand Up @@ -415,7 +415,7 @@ export async function resolveBuildPlugins(config: ResolvedConfig): Promise<{
...(options.minify ? [terserPlugin(config)] : []),
...(options.manifest ? [manifestPlugin(config)] : []),
...(options.ssrManifest ? [ssrManifestPlugin(config)] : []),
buildReporterPlugin(config),
...(!config.isWorker ? [buildReporterPlugin(config)] : []),
loadFallbackPlugin()
]
}
Expand Down

0 comments on commit 8b3d006

Please sign in to comment.