Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I'm currently profiling my build setup and noticed that `stringifyNumber` pops up here and there. Instead of going with the double regex replace approach, we'll go with the faster approach in `removeLeadingZero`. In total the changes in this PR speed up the build by about `0.9s` in my project. <img width="798" alt="stringifyNumber" src="https://user-images.githubusercontent.com/1062408/204154146-ce67d0c9-faf2-40a1-8186-8d34caea74a5.png">
- Loading branch information