Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use oxc module runner transform #85

Draft
wants to merge 6 commits into
base: rolldown-vite
Choose a base branch
from

Conversation

hi-ogawa
Copy link

@hi-ogawa hi-ogawa commented Mar 10, 2025

Description

For now, I grabbed moduleRunnerTransform from oxc-transform since they are same. I will swap with rolldown/experimental once rolldown/rolldown#3801 becomes available on nightly.

It looks mostly okay, but there are some suspicious diff and patch, so I'm going to look into this further.

Copy link

pkg-pr-new bot commented Mar 10, 2025

Open in Stackblitz

npm i https://pkg.pr.new/vitejs/rolldown-vite/vite@85

commit: c90496e

@hi-ogawa hi-ogawa force-pushed the feat-oxc-module-runner-transform branch 2 times, most recently from f08ac6c to a70a869 Compare March 10, 2025 07:51
@hi-ogawa hi-ogawa changed the base branch from rolldown-v6 to rolldown-vite March 10, 2025 07:51
@hi-ogawa hi-ogawa force-pushed the feat-oxc-module-runner-transform branch from 3ba2c7e to 1c0ea36 Compare March 10, 2025 08:13
sapphi-red and others added 2 commits March 10, 2025 18:46
wip: workaround double createRequire

chore: enable back pnpm override

fix: fix duplicate createRequire

chore: fix overrides

ci: trigger preview

Revert "ci: trigger preview"

This reverts commit 6fb3890.
@hi-ogawa hi-ogawa force-pushed the feat-oxc-module-runner-transform branch from 9c9d77c to c2f718f Compare March 11, 2025 06:57
@hi-ogawa hi-ogawa force-pushed the feat-oxc-module-runner-transform branch from b47ac7a to 3607409 Compare March 12, 2025 02:49
graphite-app bot pushed a commit to oxc-project/oxc that referenced this pull request Mar 12, 2025
There wasn't a test case for this on Vite, but missing re-export deps is spotted as a test case on Vitest vitest-dev/vitest#7646.

I'll add a test case on Vite vitejs/rolldown-vite#85 and the same one is added here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants