mirror of
https://github.com/svg/svgo.git
synced 2026-01-27 07:02:06 +03:00
fix(makeProgram): specify .mjs and .cjs config files are allowed (#1976)
This commit is contained in:
@@ -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)',
|
||||
|
||||
Reference in New Issue
Block a user