mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-03 03:12:35 +02:00
fix: remove more peer dependency warnings (#6615)
* fix: remove more peer dependency warnings * fixes * fixes * fix * remove more
This commit is contained in:
parent
919f1600c2
commit
d2574b287f
23 changed files with 23 additions and 113 deletions
|
@ -26,9 +26,7 @@ import type {
|
|||
Plugin,
|
||||
OptionValidationContext,
|
||||
ValidationResult,
|
||||
ConfigureWebpackUtils,
|
||||
} from '@docusaurus/types';
|
||||
import type {Configuration} from 'webpack';
|
||||
import admonitions from 'remark-admonitions';
|
||||
import {PluginOptionSchema} from './pluginOptionSchema';
|
||||
import {validatePageFrontMatter} from './pageFrontMatter';
|
||||
|
@ -178,11 +176,7 @@ export default async function pluginContentPages(
|
|||
);
|
||||
},
|
||||
|
||||
configureWebpack(
|
||||
_config: Configuration,
|
||||
isServer: boolean,
|
||||
{getJSLoader}: ConfigureWebpackUtils,
|
||||
) {
|
||||
configureWebpack(_config, isServer, {getJSLoader}) {
|
||||
const {
|
||||
rehypePlugins,
|
||||
remarkPlugins,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue