Skip to content

fix(rsc): resolve local function exports - #1380

Draft
hi-ogawa wants to merge 1 commit into
refactor/module-export-wrapperfrom
refactor/module-export-local-resolution
Draft

fix(rsc): resolve local function exports#1380
hi-ogawa wants to merge 1 commit into
refactor/module-export-wrapperfrom
refactor/module-export-local-resolution

Conversation

@hi-ogawa

@hi-ogawa hi-ogawa commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Realized a slight gap with Next.js use cache transform wrapping strategy in #1370. This PR adds a few more logic to align for this specific scenario of accessing local export within the same module.

Interesting, at the same time, it also reveals that, if we ignore such local export access semantics, we can actually simplify #1370 without hoist technique, which may be what I land first and leave this PR's complete-but-more-complex variant for future iteration.

Co-authored-by: OpenCode <noreply@opencode.ai>
@hi-ogawa hi-ogawa changed the title refactor(rsc): resolve local function exports fix(rsc): resolve local function exports Aug 3, 2026
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