Add a Vite config to Create React App projects
ProprietaryAdds a vite.config.ts or vite.config.js with the React plugin to each project that uses react-scripts, keeping the Create React App port 3000 and build output folder. Projects that already have a Vite config are left unchanged.
org. openrewrite. react. cra-to-vite. add-vite-configmod run . --recipe= org. openrewrite. react. cra-to-vite. add-vite-configInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.