Skip to content

Commit

Permalink
Remove unnecessary JS loader
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Nov 18, 2024
1 parent 84a47d0 commit 7f3af13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/docusaurus-plugin-openapi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ export default function pluginOpenAPI(

configureWebpack(
_config: Configuration,
isServer: boolean,
{ getJSLoader }: ConfigureWebpackUtils
_isServer: boolean,
_configureWebpackUtils: ConfigureWebpackUtils
) {
const {
rehypePlugins,
Expand All @@ -268,7 +268,6 @@ export default function pluginOpenAPI(
test: /(\.mdx?)$/,
include: [dataDir, contentPath].map(addTrailingPathSeparator),
use: [
getJSLoader({ isServer }),
{
loader: require.resolve("@docusaurus/mdx-loader"),
options: {
Expand Down

0 comments on commit 7f3af13

Please sign in to comment.