Skip to content

Commit

Permalink
removing condition from webpack plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekbh committed Nov 18, 2020
1 parent b3c3b72 commit e8218fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/next/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1106,8 +1106,7 @@ export default async function getBaseWebpackConfig(
inputChunkName.replace(/\.js$/, '.module.js'),
})
})(),
config.experimental.optimizeFonts &&
!dev &&
!dev &&
isServer &&
(function () {
const {
Expand Down

0 comments on commit e8218fa

Please sign in to comment.