Skip to content

Commit

Permalink
Update packages/next/build/webpack-config.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
Schniz and styfle committed Mar 1, 2022
1 parent fe91872 commit 210da6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/webpack-config.ts
Expand Up @@ -1530,7 +1530,7 @@ export default async function getBaseWebpackConfig(

const webpack5Config = webpackConfig as webpack5.Configuration

webpack5Config.module!.rules!.unshift({
webpack5Config.module?.rules?.unshift({
test: /\.wasm$/,
issuerLayer: 'middleware',
loader: 'next-middleware-wasm-loader',
Expand Down

0 comments on commit 210da6e

Please sign in to comment.