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 bd8c284 commit b4eabb8Copy full SHA for b4eabb8
src/mdx.ts
@@ -60,7 +60,9 @@ const root = process.cwd();
60
const FILE_CONCURRENCY_LIMIT = 200;
61
const CACHE_COMPRESS_LEVEL = 4;
62
const CACHE_DIR = path.join(root, '.next', 'cache', 'mdx-bundler');
63
-mkdirSync(CACHE_DIR, {recursive: true});
+if (process.env.CI) {
64
+ mkdirSync(CACHE_DIR, {recursive: true});
65
+}
66
67
const md5 = (data: BinaryLike) => createHash('md5').update(data).digest('hex');
68
0 commit comments