Skip to content

feat(turbopack): support full json types and basical evaluation of compile time define env #28

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

Merged
merged 2 commits into from
Jun 30, 2025

Conversation

xusd320
Copy link

@xusd320 xusd320 commented Jun 30, 2025

What

Let compile-time define env supports full types of json and basical evaluation. See examples at

https://github.com/umijs/next.js/blob/feat/upstream-turboapack-define-env/turbopack/crates/turbopack-tests/tests/snapshot.rs#L261-L286

Upstream PR: vercel#81042

@xusd320 xusd320 changed the title Feat/upstream turboapack define env feat(turbopack): support full json types and basical evaluation of compile time define env Jun 30, 2025
@xusd320 xusd320 requested a review from fireairforce June 30, 2025 15:40
@xusd320 xusd320 marked this pull request as ready for review June 30, 2025 15:40
@xusd320 xusd320 merged commit 7ab43f7 into utoo-patch Jun 30, 2025
16 of 29 checks passed
xusd320 added a commit that referenced this pull request Jul 2, 2025
…mpile time define env (#28)

* feat(turbopack): support more types of compile time define env

* fix: should use Syntax::Es for evaluate define env parsing
xusd320 added a commit that referenced this pull request Jul 3, 2025
…mpile time define env (#28)

* feat(turbopack): support more types of compile time define env

* fix: should use Syntax::Es for evaluate define env parsing
xusd320 added a commit that referenced this pull request Jul 4, 2025
…mpile time define env (#28)

* feat(turbopack): support more types of compile time define env

* fix: should use Syntax::Es for evaluate define env parsing
xusd320 added a commit that referenced this pull request Jul 9, 2025
…mpile time define env (#28)

* feat(turbopack): support more types of compile time define env

* fix: should use Syntax::Es for evaluate define env parsing
fireairforce pushed a commit that referenced this pull request Jul 15, 2025
…mpile time define env (#28)

* feat(turbopack): support more types of compile time define env

* fix: should use Syntax::Es for evaluate define env parsing
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