Skip to content

Conversation

@thedannywahl
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 6, 2026 21:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the vite-node plugin loader from using esbuild to OxC (via transformWithOxc) for transforming TypeScript files, aligning with the project's broader adoption of OxC tooling. It also includes minor updates to the nutritionfacts app.

  • Replaces transformWithEsbuild with transformWithOxc in the vite-node loader plugin
  • Updates the loader module to use a default export instead of named exports
  • Updates nutritionfacts app references from Main.tsx to main.tsx (case normalization)

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
plugins/vite-node.plugin.loader.mjs Switches from esbuild to OxC transformer, reorganizes imports, and changes from named exports to default export
apps/nutritionfacts/src/app.tsx Adds explicit parentheses around nested ternary operators (formatting improvement)
apps/nutritionfacts/package.json Bumps version from 2.0.10 to 2.0.11
apps/nutritionfacts/index.test.ts Updates test expectation to match lowercase main.tsx filename
apps/nutritionfacts/index.html Updates script source from Main.tsx to main.tsx
apps/nutritionfacts/coverage/coverage.yml Reflects file renaming in coverage data (PascalCase to lowercase)

@thedannywahl thedannywahl merged commit 16a4d44 into main Jan 6, 2026
4 checks passed
@thedannywahl thedannywahl deleted the apps/shared-configs/0xc-loader branch January 6, 2026 21:54
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.

2 participants