You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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. likewebpack.config.js
or few other examples in the ecosystem.svg-sprite/bin/svg-sprite.js
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
The text was updated successfully, but these errors were encountered: