Build failure: Babel flowtype page compilation not supported
#1 506 ouverte le 22 mai 2026
Métriques du dépôt
- Stars
- (8 120 stars)
- Métriques de merge PR
- (Merge moyen 1j 1h) (462 PRs mergées en 30 j)
Description
This issue was created by an agent analysing CI failures from the Next.js Deploy Suite (vinext
mainvs Next.jsv16.2.6, 2026-05-22).
Problem
Pages using flowtype syntax (compiled via Babel + @babel/preset-flow) fail the vinext build with Custom deploy script failed: undefined (1). The Vite/Rolldown pipeline does not run user Babel configuration for these files.
Babel + preset-flow page fails to build
Estimated Impact
~1 test failures across the deploy suite.
Affected Test Suites
test/e2e/babel/index.test.ts
Recommendation
-
Reproduce first in vinext's own test suite. Add a page using flow syntax with a
.babelrcenabling@babel/preset-flow, confirm the build fails. -
Decide on Babel support. Either add an opt-in Babel-compatibility loader for files matched by user
.babelrc, or document that Babel is not portable and convert the fixture to TS.