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 cdb6276 commit c6bad63Copy full SHA for c6bad63
packages/vite/src/node/build.ts
@@ -491,7 +491,7 @@ export async function resolveBuildPlugins(config: ResolvedConfig): Promise<{
491
...(config.isWorker ? [webWorkerPostPlugin(config)] : []),
492
],
493
post: [
494
- ...buildImportAnalysisPlugin(config),
+ ...(isBuild ? buildImportAnalysisPlugin(config) : []),
495
...(config.experimental.enableNativePlugin !== true
496
? [
497
buildOxcPlugin(),
0 commit comments