This codemod removes LogLuvLoader
, and replaces it with UltraHDRLoader
Example
Before
import { LogLuvLoade } from "three/examples/jsm/loaders/LogLuvLoader.js";
After
import { UltraHDRLoader } from "three/examples/jsm/loaders/UltraHDRLoader.js";
Before
export * from "./loaders/UltraHDRLoader.js";
After
export * from "./loadersLogLuvLoader.js";
Before
case 'logluv': return new LogLuvLoader(this.loadingManager);
After
case 'logluv': return new UltraHDRLoader(this.loadingManager);
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community