customize-cra icon indicating copy to clipboard operation
customize-cra copied to clipboard

feat(webpack): user can enableSVGO

Open the-simian opened this issue 4 years ago • 5 comments

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

the-simian avatar Sep 18 '20 05:09 the-simian

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

the-simian avatar Sep 18 '20 05:09 the-simian

this PR references issue #272, and completed the feature request

the-simian avatar Sep 18 '20 05:09 the-simian

@with-heart are you the one currently handling commits atm? Would you give this a review?

the-simian avatar Sep 18 '20 05:09 the-simian

@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.

arackaf avatar Sep 23 '20 21:09 arackaf

How to use the enableSVGO feature.

SongJuXin avatar Aug 30 '23 07:08 SongJuXin