We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 943769c commit 67455f9Copy full SHA for 67455f9
packages/plugin-svg-icon/src/index.ts
@@ -21,6 +21,7 @@ export default (api: IApi) => {
21
//插件根目录位置
22
const svgoConfigDefaultFilePath = api.utils.winPath('../svgo-config.json');
23
try {
24
+ //如果配置文件不存在使用默认配置
25
svgoConfigDirFile = require.resolve(svgoConfigDirFilePath);
26
} catch (e) {
27
console.log(
0 commit comments