fix(core): fix configurePostCss v3.2 regression (#10012)

This commit is contained in:
Sébastien Lorber 2024-04-04 13:00:33 +02:00 committed by GitHub
parent 26e0bd928c
commit f9a90d3a26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -325,6 +325,10 @@ async function getBuildClientConfig({
bundleAnalyzer: cliOptions.bundleAnalyzer ?? false, bundleAnalyzer: cliOptions.bundleAnalyzer ?? false,
}); });
let {config} = result; let {config} = result;
config = executePluginsConfigurePostCss({
plugins,
config,
});
config = executePluginsConfigureWebpack({ config = executePluginsConfigureWebpack({
plugins, plugins,
config, config,
@ -340,10 +344,6 @@ async function getBuildServerConfig({props}: {props: Props}) {
props, props,
}); });
let {config} = result; let {config} = result;
config = executePluginsConfigurePostCss({
plugins,
config,
});
config = executePluginsConfigureWebpack({ config = executePluginsConfigureWebpack({
plugins, plugins,
config, config,