From d815444c28cbd0c7b214c2b31fb4d714505c1507 Mon Sep 17 00:00:00 2001 From: sebastien Date: Thu, 3 Oct 2024 22:58:13 +0200 Subject: [PATCH] revert ab test --- packages/docusaurus-mdx-loader/src/createMDXLoader.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/docusaurus-mdx-loader/src/createMDXLoader.ts b/packages/docusaurus-mdx-loader/src/createMDXLoader.ts index 9f23f9d9a0dd..9bbafad5f7da 100644 --- a/packages/docusaurus-mdx-loader/src/createMDXLoader.ts +++ b/packages/docusaurus-mdx-loader/src/createMDXLoader.ts @@ -33,11 +33,7 @@ async function normalizeOptions( // We don't want to cache in dev mode (docusaurus start) // We only have multiple compilers in production mode (docusaurus build) // TODO wrong but good enough for now (example: "docusaurus build --dev") - if ( - process.env.DOCUSAURUS_AB_BENCHMARK === 'true' && - options.useCrossCompilerCache && - process.env.NODE_ENV === 'production' - ) { + if (options.useCrossCompilerCache && process.env.NODE_ENV === 'production') { options = { ...options, crossCompilerCache: new Map(),