Skip to content

chore: drop deprecated baseUrl from tsconfig - #752

Merged
devknight-ink merged 1 commit into
mainfrom
chore/tsconfig-drop-baseurl
Dec 4, 2026
Merged

devknight-ink merged 1 commit into
mainfrom
chore/tsconfig-drop-baseurl

Conversation

@devknight-ink

Copy link
Copy Markdown
Collaborator

What

  • Remove baseUrl from tsconfig.json and make the @/* path target explicitly relative (./src/*).
  • Switch the five images in the Remix tutorial from bare src/images/... paths to relative paths, matching the other MDX pages.

Why

TypeScript 6 rejects baseUrl (TS5101: Option 'baseUrl' is deprecated), which fails the build on the Dependabot TypeScript 6.0.3 bump in #738. This change is valid on TypeScript 5.9 as well, so it can land first and unblock that PR.

The Remix tutorial was the only thing in the repo resolving through baseUrl; every other non-package import already uses the @/ alias or a relative path.

Verification

  • pnpm run build, lint:js and lint:mdx pass on TypeScript 5.9.3 (current main).
  • pnpm run build and lint:js pass with this change applied on top of the chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 #738 branch (TypeScript 6.0.3).
  • The built Remix tutorial page still includes all five images.

TypeScript 6 rejects the baseUrl option (TS5101), which fails the build on the Dependabot TypeScript 6.0.3 bump (#738).

Remove baseUrl and make the @/* path target explicitly relative, which behaves the same on TypeScript 5.9 and 6.

The remix tutorial page was the only thing resolving through baseUrl: its five images used bare src/images/... paths. Switch them to relative paths like the other MDX pages.
@devknight-ink
devknight-ink requested a review from a team as a code owner December 4, 2026 20:27
@devknight-ink
devknight-ink merged commit 7aa3fe6 into main Dec 4, 2026
16 checks passed
@devknight-ink
devknight-ink deleted the chore/tsconfig-drop-baseurl branch December 4, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant