mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
fix: remove useless js-loader in front of mdx-loader (#8972)
This commit is contained in:
parent
905fe7f4b4
commit
d746f689ae
5 changed files with 5 additions and 9 deletions
|
@ -359,7 +359,7 @@ export default async function pluginContentBlog(
|
|||
return translateContent(content, translationFiles);
|
||||
},
|
||||
|
||||
configureWebpack(_config, isServer, {getJSLoader}, content) {
|
||||
configureWebpack(_config, isServer, utils, content) {
|
||||
const {
|
||||
admonitions,
|
||||
rehypePlugins,
|
||||
|
@ -399,7 +399,6 @@ export default async function pluginContentBlog(
|
|||
// Trailing slash is important, see https://github.com/facebook/docusaurus/pull/3970
|
||||
.map(addTrailingPathSeparator),
|
||||
use: [
|
||||
getJSLoader({isServer}),
|
||||
{
|
||||
loader: require.resolve('@docusaurus/mdx-loader'),
|
||||
options: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue