Accept Javascript config file
wojciechczerniak opened this issue · comments
Feature suggestion
CLI usage is quite limited in more advanced scenarios because args types can't accept functions. And moving those to config file does not help, as the only option we currently have is JSON file, which have the very same limitations. One of those limitations can be lifted if --config
could accept JS module file, ie. like webpack.config.js
or few other examples in the ecosystem.
Lines 156 to 157 in 87e9898
Instead plain strings only, we could set functions and use external utilities, just like API config
object can.
svg-sprite --config=svg-spirte.config.js