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 4e1fc2d commit b373257Copy full SHA for b373257
packages/vite/src/node/build.ts
@@ -495,7 +495,7 @@ export async function resolveBuildPlugins(config: ResolvedConfig): Promise<{
495
...(config.isWorker ? [webWorkerPostPlugin(config)] : []),
496
],
497
post: [
498
- ...buildImportAnalysisPlugin(config),
+ ...(isBuild ? buildImportAnalysisPlugin(config) : []),
499
...(config.experimental.enableNativePlugin !== true
500
? [
501
buildOxcPlugin(),
0 commit comments