Turbopack: canary-gate production builds (#77146)
This allows `next build --turbopack` to be run without `TURBOPACK_BUILD` being set, and only allows it when used with canary Next.js builds. This also accepts `next build --turbo` and `next build --experimental-turbo` for compatibility. Note: This keeps `TURBOPACK_BUILD` for test purposes. Closes PACK-4108 Closes PACK-4111 Test Plan: - `pnpm next build --turbopack examples/basic-css/` uses Turbopack to build and succeeds - Set `next`’s package.json version to `15.3.0`, build, and run `./node_modules/.bin/next build --turbopack examples/basic-css/`. Verify the canary-gate message is shown
Showing
Please
register
or
sign in
to comment