Skip to content

Commit 3cbf9fe

Browse files
committed
test: make middleware fixture produce chunked middleware
1 parent b352918 commit 3cbf9fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/fixtures/middleware/next.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ const nextConfig = {
44
eslint: {
55
ignoreDuringBuilds: true,
66
},
7+
webpack: (config) => {
8+
config.optimization.splitChunks.maxSize = 100_000
9+
10+
return config
11+
}
712
}
813

914
module.exports = nextConfig

0 commit comments

Comments
 (0)