@rspress/runtime 2.0.0-beta.15 → 2.0.0-beta.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/utils.js +0 -2
- package/package.json +3 -3
package/dist/utils.js
CHANGED
@@ -14,8 +14,6 @@ function normalizeHrefInRuntime(a) {
|
|
14
14
|
return normalizeHref(a, cleanUrls);
|
15
15
|
}
|
16
16
|
function normalizeImagePath(imagePath) {
|
17
|
-
const isProd = isProduction();
|
18
|
-
if (!isProd) return imagePath;
|
19
17
|
if (isAbsoluteUrl(imagePath)) return imagePath;
|
20
18
|
if (!imagePath.startsWith('/')) return imagePath;
|
21
19
|
return utils_withBase(imagePath);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspress/runtime",
|
3
|
-
"version": "2.0.0-beta.
|
3
|
+
"version": "2.0.0-beta.17",
|
4
4
|
"description": "The Runtime of Rspress Documentation Framework",
|
5
5
|
"bugs": "https://github.com/web-infra-dev/rspress/issues",
|
6
6
|
"repository": {
|
@@ -37,11 +37,11 @@
|
|
37
37
|
"react": "^19.1.0",
|
38
38
|
"react-dom": "^19.1.0",
|
39
39
|
"react-router-dom": "^6.29.0",
|
40
|
-
"@rspress/shared": "2.0.0-beta.
|
40
|
+
"@rspress/shared": "2.0.0-beta.17"
|
41
41
|
},
|
42
42
|
"devDependencies": {
|
43
43
|
"@rsbuild/plugin-react": "~1.3.2",
|
44
|
-
"@rslib/core": "0.10.
|
44
|
+
"@rslib/core": "0.10.2",
|
45
45
|
"@types/jest": "~29.5.14",
|
46
46
|
"@types/react": "^19.1.8",
|
47
47
|
"@types/react-dom": "^19.1.6",
|