Fix CLI --content option (#5775)
* Add failing test * Fix CLI `--content` option
This commit is contained in:
parent
1a08732382
commit
92df04d0c3
2 changed files with 15 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ async function build() {
|
|||
}
|
||||
|
||||
if (args['--content']) {
|
||||
resolvedConfig.content = args['--content'].split(/(?<!{[^}]+),/)
|
||||
resolvedConfig.content.files = args['--content'].split(/(?<!{[^}]+),/)
|
||||
}
|
||||
|
||||
return resolvedConfig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue