Math F16 Round Codemod
Introduction
This codemod replaces the use of the math.f16round
polyfill with the built-in f16round
function. By doing so, it eliminates the need for an external dependency, helping to reduce the bundle size and improve performance.
Before
import { f16round } from 'math-polyfills';const value = f16round(3.14159);
After
const value = f16round(3.14159);
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community