Migrate the transformIndexHtml hook to order and handler for Vite 7
ProprietaryVite 7 removed the hook-level enforce and transform of transformIndexHtml ("Migration from v6", Removed deprecated features): order replaces enforce and handler replaces transform. Applies to plugin objects in files that import vite.
org. openrewrite. nodejs. migrate. vite. MigrateTransformIndexHtmlHookmod run . --recipe= org. openrewrite. nodejs. migrate. vite. MigrateTransformIndexHtmlHookInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.