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