From 92e10abc2b5f8d7247c66ef5ef6d2bccc0b5eb0f Mon Sep 17 00:00:00 2001 From: Xingwang Liao Date: Fri, 8 May 2020 11:10:17 +0800 Subject: [PATCH] feat(svgo): add .svgorc.js config file support #412 add any SVGO config format support but missing .svgorc.js --- packages/plugin-svgo/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugin-svgo/src/index.js b/packages/plugin-svgo/src/index.js index d8c0c2ab..c269c5c1 100644 --- a/packages/plugin-svgo/src/index.js +++ b/packages/plugin-svgo/src/index.js @@ -7,6 +7,7 @@ const explorer = cosmiconfigSync('svgo', { searchPlaces: [ 'package.json', '.svgorc', + '.svgorc.js', '.svgorc.json', '.svgorc.yaml', '.svgorc.yml',