Skip to content

Commit c6b7f38

Browse files
committed
clean up log + bump cache
1 parent c4840c9 commit c6b7f38

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/utils/generateMDX.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {MaxWidthWrapperPlugin} from './mdx/MaxWidthWrapperPlugin';
1111
import {ExtractedTOC, TOCExtractorPlugin} from './mdx/TOCExtractorPlugin';
1212
import {MetaAttributesPlugin} from './mdx/MetaAttributesPlugin';
1313

14-
const DISK_CACHE_BREAKER = 12;
14+
const DISK_CACHE_BREAKER = 13;
1515
const CACHE_PATH = `${process.cwd()}/node_modules/.cache/react-docs-mdx/`;
1616
const LOCKFILE_PATH = `${process.cwd()}/yarn.lock`;
1717

src/utils/mdx/TOCExtractorPlugin.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ export function TOCExtractorPlugin({maxDepth = 3}: PluginOptions = {}) {
5555
)
5656
.trim();
5757

58-
console.log(mdxSource);
59-
6058
const text = headingNode.children
6159
.filter((child) => child.type === 'text' && child.value)
6260
.map((child) => child.value!)

0 commit comments

Comments
 (0)