We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7686f0 commit cea4364Copy full SHA for cea4364
packages/core/bin/rsbuild.js
@@ -3,9 +3,8 @@ import nodeModule from 'node:module';
3
4
// enable on-disk code caching of all modules loaded by Node.js
5
// requires Nodejs >= 22.8.0
6
-// @ts-expect-error enableCompileCache is not typed in `@types/node` 18.x
7
const { enableCompileCache } = nodeModule;
8
-if (enableCompileCache && !process.env.NODE_DISABLE_COMPILE_CACHE) {
+if (enableCompileCache) {
9
try {
10
enableCompileCache();
11
} catch {
0 commit comments