Rename REACT_APP_ variables in .env files to VITE_
ProprietaryRenames REACT_APP_* variables in .env files to the VITE_* prefix that Vite exposes to client code, including ${REACT_APP_*} expansions. Variables whose VITE_ name is already defined in the same file are left unchanged and recorded in a data table.
org. openrewrite. react. cra-to-vite. rename-env-file-variablesmod run . --recipe= org. openrewrite. react. cra-to-vite. rename-env-file-variablesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.