Skip to content

Not working with Webpack 5 #3

@BenjaminVanRyseghem

Description

@BenjaminVanRyseghem

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;
				}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions