When defining baseUrl in tsconfig.json to avoid excessive parent traversing ../../../.. the local project will recognize everything as okay, but the build output will contain broken imports.
Consider the example below; src file to the left, dist file to the right.
When defining
baseUrl
intsconfig.json
to avoid excessive parent traversing../../../..
the local project will recognize everything as okay, but the build output will contain broken imports.Consider the example below;
src
file to the left,dist
file to the right.tsconfig.json
package.json