File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -164,15 +164,16 @@ export async function validateTurboNextConfig({
164164 // configuration. Otherwise the user explicitly picked turbopack and thus we expect that
165165 // they have configured it correctly.
166166 if ( process . env . TURBOPACK === 'auto' && hasWebpackConfig && ! hasTurboConfig ) {
167- // If we defaulted to Turbopack, we want to fail the build.
167+ // If we defaulted to Turbopack, we want to fail the build to avoid surprising developers upgrading.
168+ // This can be removed in a future release.
168169 Log . error (
169170 `Webpack is configured while Turbopack is not. This may be a mistake.`
170171 )
171172 Log . error (
172- `To configure Turbopack, see:\n https://nextjs.org/docs/app/api-reference/next-config-js/turbopack`
173+ `To configure Turbopack, see https://nextjs.org/docs/app/api-reference/next-config-js/turbopack`
173174 )
174175 Log . error (
175- `TIP: Silence this ${ isDev ? 'warning' : 'error' } by passing the --turbopack or --webpack flag explicitly.`
176+ `TIP: Silence this by passing the --turbopack or --webpack flag explicitly.`
176177 )
177178
178179 process . exit ( 1 )
You can’t perform that action at this time.
0 commit comments