Skip to content

Commit

Permalink
fix(worker): disable build reporter plugin when bundling worker (#11058)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Nov 24, 2022
1 parent 88b001b commit 7b72069
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 7b72069

Please sign in to comment.