mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
`baseUrl` is deprecated. This PR removes it from tests that don't explicitly test `baseUrl` resolution. Tests that relied on `baseUrl` were migrated to use `paths`. Tests specifically for `baseUrl` were migrated in https://github.com/vercel/next.js/pull/92277 to use TypeScript 5.9.
20 lines
411 B
JavaScript
20 lines
411 B
JavaScript
const withMDX = require('@next/mdx')()
|
|
|
|
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
|
|
modularizeImports: {
|
|
'#/design-system/icons': {
|
|
transform: '#/design-system/icons/{{ kebabCase member }}',
|
|
skipDefaultConversion: true,
|
|
},
|
|
},
|
|
experimental: {
|
|
mdxRs: true,
|
|
},
|
|
}
|
|
|
|
module.exports = withMDX(nextConfig)
|