We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa8f4ab commit db7fd9fCopy full SHA for db7fd9f
test/development/mcp-server/fixtures/default-template/next.config.js
@@ -1 +1,11 @@
1
-module.exports = {}
+module.exports = {
2
+ webpack(config) {
3
+ if (process.env.NEXT_RSPACK) {
4
+ // Disable persistent cache when using Rspack.
5
+ // Rspack's persistent cache may reuse the previously compiled pages.
6
+ // This differs from webpack in dev mode, which typically builds only the page being requested.
7
+ config.cache = false
8
+ }
9
+ return config
10
11
+}
0 commit comments