If we wanted to reuse the :list_selectors plugin in another postcss_binary target, then we need to write out not only the ":list_selectors" dep, but also "build_bazel_rules_postcss/examples/additional_outputs/list-selectors.js" all over again.
This string is also pretty verbose.
Can we make it so we write out something like this instead?
Currently, postcss_binary is where plugin deps and the Node.js require string for each plugin is meant to be written. Take the following example:
If we wanted to reuse the
:list_selectors
plugin in another postcss_binary target, then we need to write out not only the ":list_selectors" dep, but also "build_bazel_rules_postcss/examples/additional_outputs/list-selectors.js" all over again.This string is also pretty verbose.
Can we make it so we write out something like this instead?
It'd be great if we could leave out
deps
too, but if we can't let's leave that out of scope for this issue.