mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #977] [MERGED] fix: accept experimental.swcEnvOptions config without erroring #997
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#997
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/977
Author: @Divkix
Created: 4/30/2026
Status: ✅ Merged
Merged: 4/30/2026
Merged by: @james-elicx
Base:
main← Head:fix/774-support-swcenvoptions📝 Commits (3)
4978e71fix: accept experimental.swcEnvOptions config without erroring (#774)e771c95refactor: align swcEnvOptions messaging and add test coverage6293a3cfix(check): update test assertion for swcEnvOptions message📊 Changes
4 files changed (+70 additions, -0 deletions)
View changed files
📝
packages/vinext/src/check.ts(+5 -0)📝
packages/vinext/src/config/next-config.ts(+9 -0)📝
tests/check.test.ts(+20 -0)📝
tests/next-config.test.ts(+36 -0)📄 Description
Fixes #774
Summary
experimental.swcEnvOptionsin config without erroring (vinext uses Vite for transforms, not SWC)CONFIG_SUPPORTentry incheck.ts(unsupported with detail message)experimental.swcEnvOptionsis present during config resolutionanalyzeConfigdetection and dot-notation matchingTest plan
experimental.swcEnvOptionstoCONFIG_SUPPORTincheck.tsit.eachdot-notation test tabletests/check.test.ts,tests/next-config.test.ts)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.