es-set-tostringtag Codemod
Introduction
This codemod removes the dependency on the es-set-tostringtag package and replaces its usage with the native Object.defineProperty and Symbol.toStringTag. By doing so, it eliminates unnecessary dependencies and leverages built-in ES features, enhancing performance and reducing bundle size.
Before
javascript
After
javascript