Skip to content

Commit

Permalink
fix plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jan 25, 2025
1 parent 9e1ed0b commit 1f0c4da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/next/src/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,8 @@ export default async function getBaseWebpackConfig(
].filter<[Feature, boolean]>(Boolean as any)
)
),
!dev &&
!isRspack &&
!dev &&
isNodeServer &&
new (
require('./webpack/plugins/telemetry-plugin/telemetry-plugin') as typeof import('./webpack/plugins/telemetry-plugin/telemetry-plugin')
Expand Down

0 comments on commit 1f0c4da

Please sign in to comment.