1
0
mirror of https://github.com/svg/svgo.git synced 2025-08-04 17:02:08 +03:00
Commit Graph

1 Commits

Author SHA1 Message Date
Bogdan Chadkin
a6f14018ee Implement loadConfig utility (#1328)
Ref https://github.com/svg/svgo/issues/1327

Config file now can only be js. `svgo.config.js` is searched by default.
Otherwise any js module specified in `--config` cli flag.

Config loader is exposed in entry point as `loadConfig(configFile, cwd)`.
2021-02-16 19:11:13 +03:00