Skip to content

Commit 6c12292

Browse files
committed
docs: Fix mdx in playground
1 parent f4bb734 commit 6c12292

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

examples/example-app-router-playground/next.config.mjs

+2-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const withNextIntl = createNextIntlPlugin({
88
createMessagesDeclaration: './messages/en.json'
99
}
1010
});
11-
const withMdx = createMDX();
11+
const withMdx = createMDX({});
1212
const withBundleAnalyzer = createBundleAnalyzer({
1313
enabled: process.env.ANALYZE === 'true'
1414
});
@@ -21,13 +21,7 @@ const nextConfig = {
2121
trailingSlash: process.env.NEXT_PUBLIC_USE_CASE === 'trailing-slash',
2222
basePath:
2323
process.env.NEXT_PUBLIC_USE_CASE === 'base-path' ? '/base/path' : undefined,
24-
experimental: {
25-
staleTimes: {
26-
// Next.js 14.2 broke `locale-prefix-never.spec.ts`.
27-
// This is a workaround for the time being.
28-
dynamic: 0
29-
}
30-
}
24+
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx']
3125
};
3226

3327
export default withNextIntl(withMdx(withBundleAnalyzer(nextConfig)));

0 commit comments

Comments
 (0)