Skip to content

feat(rsc): add new module export transform to retire transformWrapExport - #1355

Draft
hi-ogawa wants to merge 15 commits into
mainfrom
fix/issue-1350
Draft

feat(rsc): add new module export transform to retire transformWrapExport#1355
hi-ogawa wants to merge 15 commits into
mainfrom
fix/issue-1350

Conversation

@hi-ogawa

@hi-ogawa hi-ogawa commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Description

TODO

Co-authored-by: OpenCode <noreply@opencode.ai>
Comment thread packages/plugin-rsc/src/transforms/module-export.test.ts Outdated
Comment thread packages/plugin-rsc/src/transforms/module-export.test.ts Outdated
Co-authored-by: OpenCode <noreply@opencode.ai>
Comment thread packages/plugin-rsc/src/transforms/module-export.ts Outdated
Comment thread packages/plugin-rsc/src/transforms/module-export.ts Outdated
Comment thread packages/plugin-rsc/src/transforms/module-export.ts Outdated
@hi-ogawa hi-ogawa changed the title feat(rsc): add module export transform feat(rsc): add new module export transform to retire transformWrapExport Jul 30, 2026
Comment thread packages/plugin-rsc/src/transforms/module-export.ts
Comment thread packages/plugin-rsc/src/plugin.ts Outdated
hi-ogawa and others added 5 commits July 30, 2026 16:38
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Comment thread packages/plugin-rsc/src/transforms/module-export.ts Outdated
Comment on lines +168 to +173
await expect(
transform(`export var action = async () => {}; var action;`),
).rejects.toThrow('unsupported mutable export declaration')
await expect(
transform(`export let action = async () => {}`),
).rejects.toThrow('unsupported mutable export declaration')

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

why?

hi-ogawa and others added 2 commits July 31, 2026 13:03
Comment thread packages/plugin-rsc/src/transforms/module-export.ts Outdated
Comment thread packages/plugin-rsc/src/transforms/module-export.ts Outdated
hi-ogawa and others added 2 commits July 31, 2026 13:55
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
hi-ogawa and others added 4 commits July 31, 2026 14:25
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
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