npm run build is definitely bug and #39645 fixes that.
npm run build-baseUrl well that raises questions. #32878 started preferring types over reference paths to make it more portable. But our resolve type reference name doesnt use baseUrl so this is kind of questionable.
Other way to look at it would be when file is referenced throught only referece path from root file tree (or relative imports) prefer relative path instead of portable path.
Originally posted by @sheetalkamat in #37928 (comment)
npm run buildis definitely bug and #39645 fixes that.npm run build-baseUrlwell that raises questions. #32878 started preferringtypesoverreference pathsto make it more portable. But our resolve type reference name doesnt use baseUrl so this is kind of questionable.Other way to look at it would be when file is referenced throught only referece path from root file tree (or relative imports) prefer relative path instead of portable path.
Originally posted by @sheetalkamat in #37928 (comment)