UsePlugin({...}) accepts only one argument. Although more than once of it can be used in plugins options (I suspect so) (can't they?), don't you think that you don't stay DRY? Plugins are often declared once. I have seen this implementation also in snowpack scripts, lately! Wouldn't be better instead of:
UsePlugin({...})
accepts only one argument. Although more than once of it can be used inplugins
options (I suspect so) (can't they?), don't you think that you don't stay DRY? Plugins are often declared once. I have seen this implementation also insnowpack
scripts, lately! Wouldn't be better instead of:to write something like:
or, in the form of
UsePlugin([ {}, {}, ... ])
.