To have it to work, I had to do the following change:
from
// support "plugins" configuration
const shouldUpdatePlugins = use.options.plugins && pcssConfig.plugins.length
if (shouldUpdatePlugins) {
use.options.plugins = pcssConfig.plugins
}
to
// support "plugins" configuration
const hasPostCssOptions = use.options.postcssOptions;
if (hasPostCssOptions) {
delete use.options;
}
To have it to work, I had to do the following change:
from
to