mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-26 17:52:19 +00:00
docs: recommend to not overwrite some keys in tsconfig (#7717)
This commit is contained in:
parent
427b427d7e
commit
daf99c3cac
@ -14,4 +14,4 @@ Nuxt [automatically generates](/guide/concepts/typescript) a `.nuxt/tsconfig.jso
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
As you need to, you can customize the contents of this file. However, note that if you need to customize your `paths`, this will override the auto-generated path aliases. Instead, we recommend that you add any path aliases you need to the `alias` property within your `nuxt.config`, where they will get picked up and added to the autogenerated `tsconfig`.
|
As you need to, you can customize the contents of this file. However, it is recommended that you don't overwrite `target`, `module` and `moduleResolution`. Moreover, note that if you need to customize your `paths`, this will override the auto-generated path aliases. Instead, we recommend that you add any path aliases you need to the `alias` property within your `nuxt.config`, where they will get picked up and added to the auto-generated `tsconfig`.
|
||||||
|
Loading…
Reference in New Issue
Block a user