@docusaurus/core 3.8.1-canary-6396 → 3.8.1-canary-6399

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.
Files changed (2) hide show
  1. package/lib/webpack/base.js +1 -6
  2. package/package.json +11 -11
@@ -20,10 +20,6 @@ const BundlerCPUProfilerPlugin_1 = require("./plugins/BundlerCPUProfilerPlugin")
20
20
  const CSS_REGEX = /\.css$/i;
21
21
  const CSS_MODULE_REGEX = /\.module\.css$/i;
22
22
  exports.clientDir = path_1.default.join(__dirname, '..', 'client');
23
- const LibrariesToTranspile = [
24
- 'copy-text-to-clipboard', // Contains optional catch binding, incompatible with recent versions of Edge
25
- ];
26
- const LibrariesToTranspileRegex = new RegExp(LibrariesToTranspile.map((libName) => `(node_modules/${libName})`).join('|'));
27
23
  function getReactAliases(siteDir) {
28
24
  // Escape hatch
29
25
  if (process.env.DOCUSAURUS_NO_REACT_ALIASES) {
@@ -43,8 +39,7 @@ function excludeJS(modulePath) {
43
39
  }
44
40
  // Don't transpile node_modules except any docusaurus npm package
45
41
  return (modulePath.includes('node_modules') &&
46
- !/docusaurus(?:(?!node_modules).)*\.jsx?$/.test(modulePath) &&
47
- !LibrariesToTranspileRegex.test(modulePath));
42
+ !/docusaurus(?:(?!node_modules).)*\.jsx?$/.test(modulePath));
48
43
  }
49
44
  async function createBaseConfig({ props, isServer, minify, faster, configureWebpackUtils, }) {
50
45
  const { outDir, siteDir, siteConfig, siteConfigPath, baseUrl, generatedFilesDir, routesPaths, siteMetadata, plugins, } = props;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@docusaurus/core",
3
3
  "description": "Easy to Maintain Open Source Documentation Websites",
4
- "version": "3.8.1-canary-6396",
4
+ "version": "3.8.1-canary-6399",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -33,13 +33,13 @@
33
33
  "url": "https://github.com/facebook/docusaurus/issues"
34
34
  },
35
35
  "dependencies": {
36
- "@docusaurus/babel": "3.8.1-canary-6396",
37
- "@docusaurus/bundler": "3.8.1-canary-6396",
38
- "@docusaurus/logger": "3.8.1-canary-6396",
39
- "@docusaurus/mdx-loader": "3.8.1-canary-6396",
40
- "@docusaurus/utils": "3.8.1-canary-6396",
41
- "@docusaurus/utils-common": "3.8.1-canary-6396",
42
- "@docusaurus/utils-validation": "3.8.1-canary-6396",
36
+ "@docusaurus/babel": "3.8.1-canary-6399",
37
+ "@docusaurus/bundler": "3.8.1-canary-6399",
38
+ "@docusaurus/logger": "3.8.1-canary-6399",
39
+ "@docusaurus/mdx-loader": "3.8.1-canary-6399",
40
+ "@docusaurus/utils": "3.8.1-canary-6399",
41
+ "@docusaurus/utils-common": "3.8.1-canary-6399",
42
+ "@docusaurus/utils-validation": "3.8.1-canary-6399",
43
43
  "boxen": "^6.2.1",
44
44
  "chalk": "^4.1.2",
45
45
  "chokidar": "^3.5.3",
@@ -77,8 +77,8 @@
77
77
  "webpack-merge": "^6.0.1"
78
78
  },
79
79
  "devDependencies": {
80
- "@docusaurus/module-type-aliases": "3.8.1-canary-6396",
81
- "@docusaurus/types": "3.8.1-canary-6396",
80
+ "@docusaurus/module-type-aliases": "3.8.1-canary-6399",
81
+ "@docusaurus/types": "3.8.1-canary-6399",
82
82
  "@total-typescript/shoehorn": "^0.1.2",
83
83
  "@types/detect-port": "^1.3.3",
84
84
  "@types/react-dom": "^18.2.7",
@@ -98,5 +98,5 @@
98
98
  "engines": {
99
99
  "node": ">=20.0"
100
100
  },
101
- "gitHead": "610155402716fdf70a54c86c60b9d426edb1f913"
101
+ "gitHead": "118e78cba4394ea66c3842af37fe8308445c9c8b"
102
102
  }