Repository navigation
build(sandbox): migrate static export from Next to Vite - #6627
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
AI review status for this pull request.
|
Contributor
PR Analysis Report
No new or modified components detected. Bundle Size SummaryNo component packages changed. Accessibility AuditStatus: No accessibility violations detected. Visual Regression25 of 420 shot(s) changed. View the report A change here is a question, not a failure: check whether the after is the
and 5 more. Generated by PR Enrichment workflow | View full report |
cixzhang
marked this pull request as ready for review
September 25, 2026 06:04
cixzhang
requested review from
imdreamrunner and
josephfarina
as code owners
September 25, 2026 06:04
sangwook-dev
added a commit
to sangwook-dev/astryx
that referenced
this pull request
Sep 25, 2026
…DE_PATH After meta#5327 made node_modules strict, packages/build/src/next.test.mjs kept resolving enhanced-resolve (meta#5932) without a declaration: it arrives only transitively through next, and pnpm's vitest shim puts node_modules/.pnpm/node_modules on NODE_PATH, which require folds in. Run without it, the test fails with MODULE_NOT_FOUND. Declare it as a build dev dependency at the version the lockfile already carries, so the lockfile gains an importer entry and no new package versions. The other two requires this commit first declared are covered elsewhere: meta#6605 has ./postcss let the host's postcss parse its CSS, and meta#6627 removed the sandbox's next.config.mjs.
3 tasks done
4 tasks done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.









Maintainer impact
Replace the separate Sandbox Next 15 static export with adapter-free Vite so the existing docsite Vercel Preview can stage it as a plain static tree alongside Storybook. This base PR changes Sandbox only; the docsite wiring and exact-head links are in the dependent #6601.
Intended invariant
Preserve the original 767 application paths plus
/404/at both/and/sandbox/, including layouts, metadata, navigation, theme behavior, component-audit fallback, public/template assets, fullscreen embeds, and real 404 behavior.Change
Verification
/sandbox/Vite exports preserve all 768 original HTML paths and 70 embeds. Local combined docsite Preview HTTP checks covered every route/embed; nested routes, component audit, JS/CSS, template images, and unknown-route 404 were verified. The dependent ci: stage Vite Sandbox alongside Storybook in docsite previews #6601 has an exact-head live Vercel Preview with both static trees.test-node,docsite-browser,docsite-test, visual, accessibility, and builds. Independent read-only review found no remaining base defect.Scope