docs: getPlugins can accept environment option
#4804
Merged
getPlugins can accept environment option
#4804