Update outdated webpack optimization options
ProprietaryApplies the optimization renames of the webpack 5 migration guide in a webpack configuration: hashedModuleIds: true and moduleIds: 'hashed' to moduleIds: 'deterministic', namedModules: true to moduleIds: 'named', namedChunks: true to chunkIds: 'named', noEmitOnErrors to the inverted emitOnErrors and splitChunks.cacheGroups.vendors to defaultVendors. An option is left alone where the object already sets its new name.
org. openrewrite. nodejs. migrate. webpack. UpdateWebpackOptimizationOptionsmod run . --recipe= org. openrewrite. nodejs. migrate. webpack. UpdateWebpackOptimizationOptionsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.