File tree 7 files changed +620
-405
lines changed
docusaurus-plugin-content-docs/src/__tests__
7 files changed +620
-405
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {isMatch} from 'picomatch';
13
13
import commander from 'commander' ;
14
14
import webpack from 'webpack' ;
15
15
import { loadContext } from '@docusaurus/core/src/server/site' ;
16
- import { applyConfigureWebpack } from '@docusaurus/core/src/webpack/utils ' ;
16
+ import { applyConfigureWebpack } from '@docusaurus/core/src/webpack/configure ' ;
17
17
import { sortRoutes } from '@docusaurus/core/src/server/plugins/routeConfig' ;
18
18
import { posixPath } from '@docusaurus/utils' ;
19
19
import { normalizePluginOptions } from '@docusaurus/utils-validation' ;
Original file line number Diff line number Diff line change @@ -15,11 +15,8 @@ import {handleBrokenLinks} from '../server/brokenLinks';
15
15
16
16
import { createBuildClientConfig } from '../webpack/client' ;
17
17
import createServerConfig from '../webpack/server' ;
18
- import {
19
- executePluginsConfigurePostCss ,
20
- executePluginsConfigureWebpack ,
21
- compile ,
22
- } from '../webpack/utils' ;
18
+ import { executePluginsConfigureWebpack } from '../webpack/configure' ;
19
+ import { compile } from '../webpack/utils' ;
23
20
import { PerfLogger } from '../utils' ;
24
21
25
22
import { loadI18n } from '../server/i18n' ;
@@ -325,10 +322,6 @@ async function getBuildClientConfig({
325
322
bundleAnalyzer : cliOptions . bundleAnalyzer ?? false ,
326
323
} ) ;
327
324
let { config} = result ;
328
- config = executePluginsConfigurePostCss ( {
329
- plugins,
330
- config,
331
- } ) ;
332
325
config = executePluginsConfigureWebpack ( {
333
326
plugins,
334
327
config,
Original file line number Diff line number Diff line change @@ -13,12 +13,11 @@ import WebpackDevServer from 'webpack-dev-server';
13
13
import evalSourceMapMiddleware from 'react-dev-utils/evalSourceMapMiddleware' ;
14
14
import { createPollingOptions } from './watcher' ;
15
15
import {
16
- executePluginsConfigurePostCss ,
17
- executePluginsConfigureWebpack ,
18
16
formatStatsErrorMessage ,
19
17
getHttpsConfig ,
20
18
printStatsWarnings ,
21
19
} from '../../webpack/utils' ;
20
+ import { executePluginsConfigureWebpack } from '../../webpack/configure' ;
22
21
import { createStartClientConfig } from '../../webpack/client' ;
23
22
import type { StartCLIOptions } from './start' ;
24
23
import type { Props } from '@docusaurus/types' ;
@@ -135,7 +134,6 @@ async function getStartClientConfig({
135
134
minify,
136
135
poll,
137
136
} ) ;
138
- config = executePluginsConfigurePostCss ( { plugins, config} ) ;
139
137
config = executePluginsConfigureWebpack ( {
140
138
plugins,
141
139
config,
You can’t perform that action at this time.
0 commit comments