mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This: - Adds a test asserting the user can override the tsconfig path via the next-config. This is already supported with Next.js and Webpack. - Implements the necessary code to pass the test and implement support with Turbopack. Test Plan: `pnpm test-dev test/e2e/tsconfig-path/index.test.ts && pnpm test-dev-turbo test/e2e/tsconfig-path/index.test.ts` Closes PACK-4215
10 lines
158 B
TypeScript
10 lines
158 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {
|
|
typescript: {
|
|
tsconfigPath: 'myconfig.json',
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|