customize-cra
customize-cra copied to clipboard
feat(webpack): user can enableSVGO
This commit adds the enableSVGO function that re-enables the full power of the SVGR transformation pipeline that was disabled in create-react app
- adds the enableSVGO function in the webpack.js file
- adds the appropriate contributor (Jesse Harlin, the-simian)
- adds documentation in the api.md
- runs existing prettier enforcement on the affected files
hey @arackaf can you give this a review? I added quite a bit of info in the api.md for the sake of clarity and examples because this is a sort of 'hard to find' feature I think for a lot of people. If its too much I can pull back
this PR references issue #272, and completed the feature request
@with-heart are you the one currently handling commits atm? Would you give this a review?
@the-simian I haven't touched this code in literally years - if you think the code is good that's enough for me. Other maintainers have also moved on - so go for it.
How to use the enableSVGO
feature.