Skip to content

Commit

Permalink
revert ab test
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 3, 2024
1 parent 8a8f94d commit d815444
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/docusaurus-mdx-loader/src/createMDXLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit d815444

Please sign in to comment.