Skip to content

Commit

Permalink
docs: Fix mdx in playground
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Feb 28, 2025
1 parent f4bb734 commit 6c12292
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions examples/example-app-router-playground/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const withNextIntl = createNextIntlPlugin({
createMessagesDeclaration: './messages/en.json'
}
});
const withMdx = createMDX();
const withMdx = createMDX({});
const withBundleAnalyzer = createBundleAnalyzer({
enabled: process.env.ANALYZE === 'true'
});
Expand All @@ -21,13 +21,7 @@ const nextConfig = {
trailingSlash: process.env.NEXT_PUBLIC_USE_CASE === 'trailing-slash',
basePath:
process.env.NEXT_PUBLIC_USE_CASE === 'base-path' ? '/base/path' : undefined,
experimental: {
staleTimes: {
// Next.js 14.2 broke `locale-prefix-never.spec.ts`.
// This is a workaround for the time being.
dynamic: 0
}
}
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx']
};

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

0 comments on commit 6c12292

Please sign in to comment.