@rspress/plugin-client-redirects 2.0.15 → 2.0.17
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/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import node_path from "node:path";
|
|
2
2
|
import { fileURLToPath as __rspack_fileURLToPath } from "node:url";
|
|
3
3
|
import { dirname as __rspack_dirname } from "node:path";
|
|
4
|
-
var
|
|
4
|
+
var __rspack_import_meta_dirname__ = __rspack_dirname(__rspack_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
|
-
node_path.join(
|
|
10
|
+
node_path.join(__rspack_import_meta_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.
|
|
3
|
+
"version": "2.0.17",
|
|
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": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@microsoft/api-extractor": "^7.58.9",
|
|
33
|
-
"@rslib/core": "0.23.
|
|
33
|
+
"@rslib/core": "0.23.2",
|
|
34
34
|
"@types/node": "^22.8.1",
|
|
35
35
|
"@types/react": "^19.2.17",
|
|
36
36
|
"@types/react-dom": "^19.2.3",
|