Sometimes you may want to modify an existing pipeline. This is particularly helpful in cases like Statiq Web where you have an existing set of pipelines that are defined by someone else and want to tweak their behavior by adding, removing, or changing the modules they contain.
The bootstrapper provides a method for this purpose:
This method take the name of a pipeline and allows you to provide an action that can manipulate the
IPipeline with that name. The
IPipeline interface contains
ModuleList properties (essentially
IList<IModule>) for each pipeline phase.