474b115e6d
Fixes #46288 Makes TypeScript behavior match runtime by no longer allowing files to be imported absolutely relative to project root without using a relative path or a path alias. This changes behavior introduced in https://github.com/vercel/next.js/pull/44672 which also added the paths alias `@/*: ["./*"]`, which works without a baseUrl. ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
7 lines
73 B
JSON
7 lines
73 B
JSON
{
|
|
"compilerOptions": {
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
}
|
|
}
|
|
}
|