Skip to content

Commit

Permalink
revert enabledLibraryTypes checking
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Mar 16, 2022
1 parent 2d0a2a8 commit d0406bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/webpack-config.ts
Expand Up @@ -1565,7 +1565,7 @@ export default async function getBaseWebpackConfig(
},
}

if (!isServer) {
if (targetWeb) {
webpack5Config.output!.enabledLibraryTypes = ['assign']
}

Expand Down

0 comments on commit d0406bc

Please sign in to comment.