@salesforce/pwa-kit-react-sdk 3.11.0 → 3.12.0-dev
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/CHANGELOG.md +3 -0
- package/package.json +5 -5
- package/ssr/universal/utils.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## v3.12.0-dev (Jul 22, 2025)
|
|
2
|
+
- Add support for environment level base paths on /mobify routes [#2892](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2892)
|
|
3
|
+
|
|
1
4
|
## v3.11.0 (Jul 22, 2025)
|
|
2
5
|
- Fix the performance logging so that it'll capture all SSR queries, even those that result in errors [#2486](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2486)
|
|
3
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/pwa-kit-react-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.0-dev",
|
|
4
4
|
"description": "A library that supports the isomorphic React rendering pipeline for Commerce Cloud Managed Runtime apps",
|
|
5
5
|
"homepage": "https://github.com/SalesforceCommerceCloud/pwa-kit/tree/develop/packages/pwa-kit-react-sdk#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@loadable/babel-plugin": "^5.15.3",
|
|
38
38
|
"@loadable/server": "^5.15.3",
|
|
39
39
|
"@loadable/webpack-plugin": "^5.15.2",
|
|
40
|
-
"@salesforce/pwa-kit-runtime": "3.
|
|
40
|
+
"@salesforce/pwa-kit-runtime": "3.12.0-dev",
|
|
41
41
|
"@tanstack/react-query": "^4.28.0",
|
|
42
42
|
"cross-env": "^5.2.1",
|
|
43
43
|
"event-emitter": "^0.3.5",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@loadable/component": "^5.15.3",
|
|
53
|
-
"@salesforce/pwa-kit-dev": "3.
|
|
53
|
+
"@salesforce/pwa-kit-dev": "3.12.0-dev",
|
|
54
54
|
"@testing-library/jest-dom": "^5.16.5",
|
|
55
55
|
"@testing-library/react": "^14.0.0",
|
|
56
56
|
"@testing-library/user-event": "^14.4.3",
|
|
57
|
-
"internal-lib-build": "3.
|
|
57
|
+
"internal-lib-build": "3.12.0-dev",
|
|
58
58
|
"node-html-parser": "^3.3.6",
|
|
59
59
|
"nodemon": "^2.0.22",
|
|
60
60
|
"react": "^18.2.0",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"directory": "dist"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "60d9a47ad71824709be52bbe1110b092f7698244"
|
|
83
83
|
}
|
package/ssr/universal/utils.js
CHANGED
|
@@ -29,7 +29,7 @@ const onClient = typeof window !== 'undefined';
|
|
|
29
29
|
*/
|
|
30
30
|
const getAssetUrl = path => {
|
|
31
31
|
/* istanbul ignore next */
|
|
32
|
-
const publicPath = onClient ? `${window.Progressive.buildOrigin}` : `${_ssrNamespacePaths.bundleBasePath}/${process.env.BUNDLE_ID || 'development'}/`;
|
|
32
|
+
const publicPath = onClient ? `${window.Progressive.buildOrigin}` : `${(0, _ssrNamespacePaths.getEnvBasePath)()}${_ssrNamespacePaths.bundleBasePath}/${process.env.BUNDLE_ID || 'development'}/`;
|
|
33
33
|
return path ? `${publicPath}${path}` : publicPath;
|
|
34
34
|
};
|
|
35
35
|
|