@salesforce/webapp-template-app-react-template-b2x-experimental 1.95.0 → 1.96.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.96.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.95.0...v1.96.0) (2026-03-12)
7
+
8
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
9
+
10
+
11
+
12
+
13
+
6
14
  # [1.95.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.94.1...v1.95.0) (2026-03-12)
7
15
 
8
16
  **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
@@ -2,12 +2,12 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
5
+ <link rel="icon" type="image/svg+xml" href="vite.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Welcome to React App</title>
8
8
  </head>
9
9
  <body>
10
10
  <div id="root"></div>
11
- <script type="module" src="/src/app.tsx"></script>
11
+ <script type="module" src="src/app.tsx"></script>
12
12
  </body>
13
13
  </html>
@@ -4,7 +4,8 @@ import { StrictMode } from "react";
4
4
  import { createRoot } from "react-dom/client";
5
5
  import "./styles/global.css";
6
6
 
7
- const router = createBrowserRouter(routes);
7
+ const basename = (globalThis as any).SFDC_ENV?.basePath;
8
+ const router = createBrowserRouter(routes, { basename });
8
9
 
9
10
  createRoot(document.getElementById("root")!).render(
10
11
  <StrictMode>
@@ -8,8 +8,7 @@ import codegen from 'vite-plugin-graphql-codegen';
8
8
 
9
9
  export default defineConfig(({ mode }) => {
10
10
  return {
11
- // Ensure root base for e2e/static serve; plugin may override when deployed under a path
12
- base: '/',
11
+ base: './',
13
12
  // Type assertion avoids Plugin type mismatch when dist has its own node_modules (vite/rollup)
14
13
  plugins: [
15
14
  tailwindcss(),
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.95.0",
3
+ "version": "1.96.0",
4
4
  "description": "Base SFDX project template",
5
5
  "private": true,
6
6
  "files": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-app-react-template-b2x-experimental",
3
- "version": "1.95.0",
3
+ "version": "1.96.0",
4
4
  "description": "Base reference app template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",