@docusaurus/plugin-content-pages 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
@@ -122,7 +122,7 @@ function pluginContentPages(context, options) {
122
122
  }
123
123
  }));
124
124
  },
125
- configureWebpack(config, isServer, { getJSLoader }) {
125
+ configureWebpack() {
126
126
  const { admonitions, rehypePlugins, remarkPlugins, beforeDefaultRehypePlugins, beforeDefaultRemarkPlugins, } = options;
127
127
  const contentDirs = getContentPathList(contentPaths);
128
128
  return {
@@ -139,7 +139,6 @@ function pluginContentPages(context, options) {
139
139
  // Trailing slash is important, see https://github.com/facebook/docusaurus/pull/3970
140
140
  .map(utils_1.addTrailingPathSeparator),
141
141
  use: [
142
- getJSLoader({ isServer }),
143
142
  {
144
143
  loader: require.resolve('@docusaurus/mdx-loader'),
145
144
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-pages",
3
- "version": "0.0.0-5576",
3
+ "version": "0.0.0-5577",
4
4
  "description": "Pages plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-content-pages.d.ts",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "0.0.0-5576",
22
- "@docusaurus/mdx-loader": "0.0.0-5576",
23
- "@docusaurus/types": "0.0.0-5576",
24
- "@docusaurus/utils": "0.0.0-5576",
25
- "@docusaurus/utils-validation": "0.0.0-5576",
21
+ "@docusaurus/core": "0.0.0-5577",
22
+ "@docusaurus/mdx-loader": "0.0.0-5577",
23
+ "@docusaurus/types": "0.0.0-5577",
24
+ "@docusaurus/utils": "0.0.0-5577",
25
+ "@docusaurus/utils-validation": "0.0.0-5577",
26
26
  "fs-extra": "^11.1.0",
27
27
  "tslib": "^2.5.0",
28
28
  "webpack": "^5.76.0"
@@ -34,5 +34,5 @@
34
34
  "engines": {
35
35
  "node": ">=16.14"
36
36
  },
37
- "gitHead": "8011ec6c8c46329b1596b7f2213c4b45ff31d27f"
37
+ "gitHead": "4bcac799ecb155d8893e84fc49a42afeb07a9d61"
38
38
  }
package/src/index.ts CHANGED
@@ -186,7 +186,7 @@ export default function pluginContentPages(
186
186
  );
187
187
  },
188
188
 
189
- configureWebpack(config, isServer, {getJSLoader}) {
189
+ configureWebpack() {
190
190
  const {
191
191
  admonitions,
192
192
  rehypePlugins,
@@ -209,7 +209,6 @@ export default function pluginContentPages(
209
209
  // Trailing slash is important, see https://github.com/facebook/docusaurus/pull/3970
210
210
  .map(addTrailingPathSeparator),
211
211
  use: [
212
- getJSLoader({isServer}),
213
212
  {
214
213
  loader: require.resolve('@docusaurus/mdx-loader'),
215
214
  options: {