@rspress/plugin-client-redirects 2.0.0-beta.11 → 2.0.0-beta.13

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/dist/index.js +2 -2
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { fileURLToPath as __webpack_fileURLToPath__ } from "node:url";
2
2
  import { dirname as __webpack_dirname__ } from "node:path";
3
- import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
3
+ import external_node_path_default from "node:path";
4
4
  var src_dirname = __webpack_dirname__(__webpack_fileURLToPath__(import.meta.url));
5
5
  function pluginClientRedirects(options = {}) {
6
6
  return {
7
7
  name: '@rspress/plugin-client-redirects',
8
8
  globalUIComponents: [
9
9
  [
10
- __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].join(src_dirname, '../static/Redirect.tsx'),
10
+ external_node_path_default.join(src_dirname, '../static/Redirect.tsx'),
11
11
  options
12
12
  ]
13
13
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-client-redirects",
3
- "version": "2.0.0-beta.11",
3
+ "version": "2.0.0-beta.13",
4
4
  "description": "A plugin for rspress to client redirect in docs.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -29,11 +29,11 @@
29
29
  "static"
30
30
  ],
31
31
  "dependencies": {
32
- "@rspress/shared": "2.0.0-beta.11"
32
+ "@rspress/shared": "2.0.0-beta.13"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@microsoft/api-extractor": "^7.52.8",
36
- "@rslib/core": "0.8.0",
36
+ "@rslib/core": "0.9.2",
37
37
  "@types/node": "^22.8.1",
38
38
  "@types/react": "^19.1.6",
39
39
  "@types/react-dom": "^19.1.6",
@@ -43,7 +43,7 @@
43
43
  "@rspress/config": "1.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@rspress/runtime": "^2.0.0-beta.11"
46
+ "@rspress/runtime": "^2.0.0-beta.13"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=18.0.0"