Skip to content

Commit

Permalink
fix(makeProgram): specify .mjs and .cjs config files are allowed (#1976)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Apr 23, 2024
1 parent 8d6385b commit 888d078
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/svgo/coa.js
Expand Up @@ -47,7 +47,10 @@ export default function makeProgram(program) {
'-p, --precision <INTEGER>',
'Set number of digits in the fractional part, overrides plugins params',
)
.option('--config <CONFIG>', 'Custom config file, only .js is supported')
.option(
'--config <CONFIG>',
'Custom config file, only .js, .mjs, and .cjs is supported',
)
.option(
'--datauri <FORMAT>',
'Output as Data URI string (base64), URI encoded (enc) or unencoded (unenc)',
Expand Down

0 comments on commit 888d078

Please sign in to comment.