Skip to content

change tsconfig moduleResolution to bundler#4969

Merged
marrobi merged 3 commits into
microsoft:mainfrom
JC-wk:tsconfig-bundler
Jul 15, 2026
Merged

change tsconfig moduleResolution to bundler#4969
marrobi merged 3 commits into
microsoft:mainfrom
JC-wk:tsconfig-bundler

Conversation

@JC-wk

@JC-wk JC-wk commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Resolves #4968

What is being addressed

The current moduleResolution setting of "node" (node10) is deprecated, since we are using vite as a bundler then moduleResolution should be updated to "bundler"

How is this addressed

  • change moduleResolution to bundler
  • Updated CHANGELOG.md
  • Increment ui version

@JC-wk JC-wk requested a review from a team as a code owner July 14, 2026 16:40
Copilot AI review requested due to automatic review settings July 14, 2026 16:40

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.

Pull request overview

Updates the UI TypeScript configuration to use bundler-aligned module resolution (Vite) to eliminate the deprecated moduleResolution=node/node10 warning reported in #4968, and performs the accompanying versioning/changelog updates.

Changes:

  • Switch ui/app/tsconfig.json moduleResolution from node to bundler.
  • Bump UI package version to 0.8.28 (including lockfile).
  • Add a BUG FIXES entry to CHANGELOG.md referencing #4968.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
ui/app/tsconfig.json Updates TypeScript module resolution strategy to bundler to align with Vite and remove the deprecation warning.
ui/app/package.json Increments the UI package version to reflect the change.
ui/app/package-lock.json Keeps lockfile version metadata consistent with the UI package version bump.
CHANGELOG.md Documents the deprecation-warning fix under BUG FIXES with an issue reference.
Files not reviewed (1)
  • ui/app/package-lock.json: Generated file

@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

Unit Test Results

241 tests   241 ✅  27s ⏱️
 27 suites    0 💤
  1 files      0 ❌

Results for commit 226efbe.

♻️ This comment has been updated with latest results.

@rudolphjacksonm rudolphjacksonm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@marrobi marrobi enabled auto-merge (squash) July 15, 2026 08:10
@marrobi

marrobi commented Jul 15, 2026

Copy link
Copy Markdown
Member

/test-force-approve 226efbe

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit 226efbe)

(in response to this comment from @marrobi)

@marrobi marrobi merged commit 45b70b2 into microsoft:main Jul 15, 2026
11 checks passed
@JC-wk JC-wk deleted the tsconfig-bundler branch July 15, 2026 08:23
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.

In tsconfig.json vscode warns Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0.

4 participants