Skip to content

Commit f9a90d3

Browse files
authored
fix(core): fix configurePostCss v3.2 regression (#10012)
1 parent 26e0bd9 commit f9a90d3

File tree

1 file changed

+4
-4
lines changed
  • packages/docusaurus/src/commands

1 file changed

+4
-4
lines changed

packages/docusaurus/src/commands/build.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,10 @@ async function getBuildClientConfig({
325325
bundleAnalyzer: cliOptions.bundleAnalyzer ?? false,
326326
});
327327
let {config} = result;
328+
config = executePluginsConfigurePostCss({
329+
plugins,
330+
config,
331+
});
328332
config = executePluginsConfigureWebpack({
329333
plugins,
330334
config,
@@ -340,10 +344,6 @@ async function getBuildServerConfig({props}: {props: Props}) {
340344
props,
341345
});
342346
let {config} = result;
343-
config = executePluginsConfigurePostCss({
344-
plugins,
345-
config,
346-
});
347347
config = executePluginsConfigureWebpack({
348348
plugins,
349349
config,

0 commit comments

Comments
 (0)