Skip to content

Commit ef6e7ab

Browse files
committed
remove opt-in for mdx dependency file
1 parent e839b67 commit ef6e7ab

File tree

1 file changed

+0
-7
lines changed
  • packages/docusaurus-plugin-content-docs/src

1 file changed

+0
-7
lines changed

packages/docusaurus-plugin-content-docs/src/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,6 @@ async function createMdxLoaderDependencyFile({
7777
options: PluginOptions;
7878
versionsMetadata: VersionMetadata[];
7979
}): Promise<string | undefined> {
80-
// TODO this has been temporarily made opt-in until Rspack cache bug is fixed
81-
// See https://github.com/facebook/docusaurus/pull/10931
82-
// See https://github.com/facebook/docusaurus/pull/10934#issuecomment-2672253145
83-
if (!process.env.DOCUSAURUS_ENABLE_MDX_DEPENDENCY_FILE) {
84-
return undefined;
85-
}
86-
8780
const filePath = path.join(dataDir, '__mdx-loader-dependency.json');
8881
// the cache is invalidated whenever this file content changes
8982
const fileContent = {

0 commit comments

Comments
 (0)