File tree Expand file tree Collapse file tree
packages/cli/src/migration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -647,7 +647,11 @@ async function executeMigrationPlan(
647647 cancelAndExit ( 'Vite+ cannot automatically migrate this project yet.' , 1 ) ;
648648 }
649649
650- // 5. ESLint → Oxlint migration (before main rewrite so .oxlintrc.json gets picked up)
650+ // 5. Check for Rolldown-incompatible config patterns
651+ updateMigrationProgress ( 'Checking config compatibility' ) ;
652+ await checkRolldownCompatibility ( workspaceInfo . rootDir , report ) ;
653+
654+ // 6. ESLint → Oxlint migration (before main rewrite so .oxlintrc.json gets picked up)
651655 if ( plan . migrateEslint ) {
652656 updateMigrationProgress ( 'Migrating ESLint' ) ;
653657 const eslintOk = await migrateEslintToOxlint (
@@ -736,10 +740,6 @@ async function executeMigrationPlan(
736740 { silent : true } ,
737741 ) ;
738742
739- // 12. Check for Rolldown-incompatible config patterns
740- updateMigrationProgress ( 'Checking config compatibility' ) ;
741- await checkRolldownCompatibility ( workspaceInfo . rootDir , report ) ;
742-
743743 clearMigrationProgress ( ) ;
744744 return {
745745 installDurationMs : initialInstallSummary . durationMs + finalInstallSummary . durationMs ,
You can’t perform that action at this time.
0 commit comments