Skip to content

chore: upgrade Ladle to Vite 8 - #635

Merged
tajo merged 1 commit into
tajo:mainfrom
BartvanEijkelenburg:chore/upgrade-vite-8
Jun 28, 2026
Merged

chore: upgrade Ladle to Vite 8#635
tajo merged 1 commit into
tajo:mainfrom
BartvanEijkelenburg:chore/upgrade-vite-8

Conversation

@BartvanEijkelenburg

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade Ladle’s embedded Vite dependency to Vite 8
  • Align related React plugin and Node.js engine versions
  • Fix MDX dev compilation and story-loaded timing for Vite 8 compatibility
  • Add a patch changeset for @ladle/react

Verification

  • pnpm typecheck
  • pnpm lint
  • pnpm build
  • pnpm test

@stevematney

Copy link
Copy Markdown

Would it be feasible/desirable to include removing vite-tsconfig-paths in favor of resolve.tsconfigPaths as part of this PR?

@tajo tajo left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Verified locally: typecheck, lint, build, and the full e2e suite (including iframe/MDX paths) all pass on Node 23. Vite 8 upgrade looks solid. Approving and merging.

@tajo
tajo merged commit 83f7cf3 into tajo:main Jun 28, 2026
2 checks passed
tajo added a commit that referenced this pull request Jun 28, 2026
…m) (#636)

Address two follow-ups from the Vite 8 upgrade (#635):

- Replace the vite-tsconfig-paths plugin with Vite 8's native
  resolve.tsconfigPaths option and drop the dependency. Still skipped
  under Yarn PnP or when the user supplies their own plugin.
- Migrate the MDX plugin off the deprecated transformWithEsbuild to
  transformWithOxc. The dev (babel) path pins the classic JSX runtime to
  keep the emitted output byte-identical to the previous esbuild default.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

4 participants