Skip to content
This repository was archived by the owner on Sep 17, 2026. It is now read-only.

Update baseUrl and paths in tsconfig.json - #125

Merged
jasonrclark merged 2 commits into
mainfrom
avanderhoorn/baseUrl-paths-ts-update
Aug 26, 2025
Merged

jasonrclark merged 2 commits into
mainfrom
avanderhoorn/baseUrl-paths-ts-update

Conversation

@avanderhoorn

Copy link
Copy Markdown
Collaborator

With updates to start using tsgo we are seeing the following class of errors:

  Use '"paths": {"*": "./*"}' instead.

24     "baseUrl": ".",
       ~~~~~~~~~
tsconfig.json:27:9 - error TS5090: Non-relative paths are not allowed. Did you forget a leading './'?

27         "src/*"
           ~~~~~~~

Found 2 errors in the same file, starting at: tsconfig.json:24```

https://www.typescriptlang.org/tsconfig/#baseUrl
> As of TypeScript 4.1, baseUrl is no longer required to be set when using paths.

Copilot AI review requested due to automatic review settings August 15, 2025 15:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

avanderhoorn and others added 2 commits August 26, 2025 11:53
With updates to start using `tsgo` we are seeing the following class of errors:

```tsconfig.json:24:5 - error TS5102: Option 'baseUrl' has been removed. Please remove it from your configuration.
  Use '"paths": {"*": "./*"}' instead.

24     "baseUrl": ".",
       ~~~~~~~~~
tsconfig.json:27:9 - error TS5090: Non-relative paths are not allowed. Did you forget a leading './'?

27         "src/*"
           ~~~~~~~

Found 2 errors in the same file, starting at: tsconfig.json:24```

https://www.typescriptlang.org/tsconfig/#baseUrl
> As of TypeScript 4.1, baseUrl is no longer required to be set when using paths.
@jasonrclark
jasonrclark force-pushed the avanderhoorn/baseUrl-paths-ts-update branch from e60fd29 to 0f37056 Compare August 26, 2025 18:54
@jasonrclark
jasonrclark merged commit 64cd129 into main Aug 26, 2025
2 checks passed
@jasonrclark
jasonrclark deleted the avanderhoorn/baseUrl-paths-ts-update branch August 26, 2025 21:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants