Skip to content

Commit

Permalink
Don't run on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Schniz committed Feb 24, 2022
1 parent a1762ec commit a3910a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/next/build/webpack-config.ts
Expand Up @@ -1273,7 +1273,8 @@ export default async function getBaseWebpackConfig(
].filter(Boolean),
},
plugins: [
...(!isServer &&
...(!dev &&
!isServer &&
!!config.experimental.middlewareSourceMaps &&
!config.productionBrowserSourceMaps
? getMiddlewareSourceMapPlugins()
Expand Down

0 comments on commit a3910a8

Please sign in to comment.