@docusaurus/plugin-content-blog 0.0.0-5576 → 0.0.0-5577

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -227,7 +227,7 @@ async function pluginContentBlog(context, options) {
227
227
  translateContent({ content, translationFiles }) {
228
228
  return (0, translations_1.translateContent)(content, translationFiles);
229
229
  },
230
- configureWebpack(_config, isServer, { getJSLoader }, content) {
230
+ configureWebpack(_config, isServer, utils, content) {
231
231
  const { admonitions, rehypePlugins, remarkPlugins, truncateMarker, beforeDefaultRemarkPlugins, beforeDefaultRehypePlugins, } = options;
232
232
  const markdownLoaderOptions = {
233
233
  siteDir,
@@ -256,7 +256,6 @@ async function pluginContentBlog(context, options) {
256
256
  // Trailing slash is important, see https://github.com/facebook/docusaurus/pull/3970
257
257
  .map(utils_1.addTrailingPathSeparator),
258
258
  use: [
259
- getJSLoader({ isServer }),
260
259
  {
261
260
  loader: require.resolve('@docusaurus/mdx-loader'),
262
261
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-blog",
3
- "version": "0.0.0-5576",
3
+ "version": "0.0.0-5577",
4
4
  "description": "Blog plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-content-blog.d.ts",
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "0.0.0-5576",
22
- "@docusaurus/logger": "0.0.0-5576",
23
- "@docusaurus/mdx-loader": "0.0.0-5576",
24
- "@docusaurus/types": "0.0.0-5576",
25
- "@docusaurus/utils": "0.0.0-5576",
26
- "@docusaurus/utils-common": "0.0.0-5576",
27
- "@docusaurus/utils-validation": "0.0.0-5576",
21
+ "@docusaurus/core": "0.0.0-5577",
22
+ "@docusaurus/logger": "0.0.0-5577",
23
+ "@docusaurus/mdx-loader": "0.0.0-5577",
24
+ "@docusaurus/types": "0.0.0-5577",
25
+ "@docusaurus/utils": "0.0.0-5577",
26
+ "@docusaurus/utils-common": "0.0.0-5577",
27
+ "@docusaurus/utils-validation": "0.0.0-5577",
28
28
  "cheerio": "^1.0.0-rc.12",
29
29
  "feed": "^4.2.2",
30
30
  "fs-extra": "^11.1.0",
@@ -42,5 +42,5 @@
42
42
  "engines": {
43
43
  "node": ">=16.14"
44
44
  },
45
- "gitHead": "8011ec6c8c46329b1596b7f2213c4b45ff31d27f"
45
+ "gitHead": "4bcac799ecb155d8893e84fc49a42afeb07a9d61"
46
46
  }
package/src/index.ts CHANGED
@@ -359,7 +359,7 @@ export default async function pluginContentBlog(
359
359
  return translateContent(content, translationFiles);
360
360
  },
361
361
 
362
- configureWebpack(_config, isServer, {getJSLoader}, content) {
362
+ configureWebpack(_config, isServer, utils, content) {
363
363
  const {
364
364
  admonitions,
365
365
  rehypePlugins,
@@ -399,7 +399,6 @@ export default async function pluginContentBlog(
399
399
  // Trailing slash is important, see https://github.com/facebook/docusaurus/pull/3970
400
400
  .map(addTrailingPathSeparator),
401
401
  use: [
402
- getJSLoader({isServer}),
403
402
  {
404
403
  loader: require.resolve('@docusaurus/mdx-loader'),
405
404
  options: {