Skip to content

Commit

Permalink
fix: dont run vite config migraiton for rnw
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Jan 5, 2025
1 parent de65bec commit b0aac2a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ export const viteConfigFile = {
return null;
}
const frameworkName = frameworkPackages[frameworkPackageName];

if (frameworkName === 'react-native-web-vite') {
// we don't expect a vite config file for this framework
return null;
}

const isUsingViteBuilder =
mainConfig.core?.builder === 'vite' ||
frameworkPackageName?.includes('vite') ||
Expand Down

0 comments on commit b0aac2a

Please sign in to comment.