Skip to content

Commit db7fd9f

Browse files
committed
fix: mcp-server test case
1 parent fa8f4ab commit db7fd9f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
module.exports = {}
1+
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

Comments
 (0)