The nextjs project is being developed with typescript.
All modules related to the app are created in the src directory.
So, I am trying to set the absolute path based on src by adding src to baseUrl of tsconfig.
However, I am concerned about the side effect of setting the baseUrl to the src directory rather than the project root.
So my two questions are below.
- Is there any side effect when
baseUrlis set as src in tsconfig? - Would it be better to manage the path with tsconfig's
paths? Or would it be better to just change thebaseUrl?