Migrate sap.ui.define to ES modules

Proprietary

Replaces a sap.ui.define module with ES module syntax: each dependency becomes an import, the factory body becomes the module body, and the value the factory returns becomes the default export.

io.moderne.javascript.ui5.MigrateAmdToEsModules
mod run . --recipe=io.moderne.javascript.ui5.MigrateAmdToEsModules

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.