Move public/index.html to the project root for Vite
ProprietaryMoves public/index.html of a Create React App project to the project root, replaces %PUBLIC_URL% and %REACT_APP_*% placeholders, and adds a module script for src/index. Pages that cannot be moved safely are left in place.
org. openrewrite. react. cra-to-vite. move-public-index-htmlmod run . --recipe= org. openrewrite. react. cra-to-vite. move-public-index-htmlInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.