Skip to content

Commit 67455f9

Browse files
committed
feat(svg-icon): 添加注释,修改手动修改lock文件
1 parent 943769c commit 67455f9

File tree

2 files changed

+28
-319
lines changed

2 files changed

+28
-319
lines changed

packages/plugin-svg-icon/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default (api: IApi) => {
2121
//插件根目录位置
2222
const svgoConfigDefaultFilePath = api.utils.winPath('../svgo-config.json');
2323
try {
24+
//如果配置文件不存在使用默认配置
2425
svgoConfigDirFile = require.resolve(svgoConfigDirFilePath);
2526
} catch (e) {
2627
console.log(

0 commit comments

Comments
 (0)