Dynamic output channels configuration

What is the simplest way to dynamically set the number of audio outputs for a JUCE audio plugin instead of the fixed config setting JucePlugin_MaxNumOutputChannels?
Basically, my plugin allows the user to configure the number of outputs so this value is read from the ini file at plugin startup.

Apologies if this has been covered anywhere else but searching the forum didn’t turn anything up for me.