mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-23 05:57:05 +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
|
@ -37,13 +37,11 @@ import type {
|
|||
import {PluginOptionSchema} from './pluginOptionSchema';
|
||||
import type {
|
||||
LoadContext,
|
||||
ConfigureWebpackUtils,
|
||||
Plugin,
|
||||
HtmlTags,
|
||||
OptionValidationContext,
|
||||
ValidationResult,
|
||||
} from '@docusaurus/types';
|
||||
import type {Configuration} from 'webpack';
|
||||
import {
|
||||
generateBlogPosts,
|
||||
getSourceToPermalink,
|
||||
|
@ -405,12 +403,7 @@ export default async function pluginContentBlog(
|
|||
return translateContent(content, translationFiles);
|
||||
},
|
||||
|
||||
configureWebpack(
|
||||
_config: Configuration,
|
||||
isServer: boolean,
|
||||
{getJSLoader}: ConfigureWebpackUtils,
|
||||
content,
|
||||
) {
|
||||
configureWebpack(_config, isServer, {getJSLoader}, content) {
|
||||
const {
|
||||
rehypePlugins,
|
||||
remarkPlugins,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue