silverwolf-x's picture
download
raw
553 Bytes
module.exports = {
webpack(config) {
if (process.env.NEXT_RSPACK) {
// Disable persistent cache when using Rspack.
// Rspack may reuse previously compiled pages from its persistent cache.
// In development, webpack typically compiles only the page being requested.
// Keeping Rspack's persistent cache enabled can cause tests to surface errors
// from previously compiled pages, making it hard to assert errors for the
// currently requested page only.
config.cache = false
}
return config
},
}

Xet Storage Details

Size:
553 Bytes
·
Xet hash:
4d03984a99cb6ef638aa84a0405c886ff6982c3b9a170707fa3fa6a49200cecd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.