rsnext/test/integration/typescript-paths
Jan Potoms 683db9a8ad
Support tsconfig paths without baseurl (#34926)
tsconfig behaves differently with `tsc` vs. Next.js. When `baseurl` is omitted, `paths` should be resolved against the tsconfig location. Consequentially, in this case the paths must start with `./`. This PR aligns Next.js behavior with `tsc` around `paths` without `baseurl`. 

Related: https://github.com/microsoft/TypeScript/pull/40101
2022-08-15 13:33:25 +00:00
..
components Skip paths that are routed to a .d.ts file (#11322) 2020-03-24 12:25:58 +01:00
lib
pages Skip paths that are routed to a .d.ts file (#11322) 2020-03-24 12:25:58 +01:00
test Support tsconfig paths without baseurl (#34926) 2022-08-15 13:33:25 +00:00
next.config.js Enable "paths" support by default (#11970) 2020-04-17 16:28:17 +02:00
tsconfig.json cache typechecking with incremental compilation (#24559) 2021-05-07 19:21:20 +02:00