2 ms·
> So how do you order plugins relative to other plugins you don't have control over? Let the user decide, like this? [external plugin 1] some options
by falsedan 9y ago
> So how do you order plugins relative to other plugins you don't have control over?
Let the user decide, like this?
[external plugin 1]
some options = do stuff
[internal plugin A]
; etc.
[external plugin 2]
[external plugin 3]
[internal plugin B]
where all of these plugins are the same type (e.g. pre-build, post-compile). If that's too verbose, then plugin bundles & the Filter bundle are the way to go:
[external plugin 1]
some options = do stuff
[internal plugin A]
; etc.
[@Filter/@Basic]
-without = external plugin 1
[internal plugin B]
If you have a strong need for your plugin to run after one but before another, and they're all in the same step, then maybe they should be separated into two steps.