@salesforce/vite-plugin-webapp-experimental 1.1.3 → 1.2.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/index.js +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -57,7 +57,7 @@ export default function webappsPlugin(options = {}) {
|
|
|
57
57
|
},
|
|
58
58
|
async configResolved(config) {
|
|
59
59
|
try {
|
|
60
|
-
manifest = await loadManifest(`${config.root ?? process.cwd()}/
|
|
60
|
+
manifest = await loadManifest(`${config.root ?? process.cwd()}/webapplication.json`);
|
|
61
61
|
const target = getDevServerTarget(codeBuilderProxyUrl, config.server.port ?? DEFAULT_PORT);
|
|
62
62
|
proxyHandler = createProxyHandler(manifest, orgInfo, target, getBasePathBound(config.mode), proxyOptions);
|
|
63
63
|
}
|
|
@@ -95,7 +95,7 @@ export default function webappsPlugin(options = {}) {
|
|
|
95
95
|
},
|
|
96
96
|
async handleHotUpdate({ file, server }) {
|
|
97
97
|
// Watch for manifest changes and reload
|
|
98
|
-
if (file.endsWith("
|
|
98
|
+
if (file.endsWith("webapplication.json")) {
|
|
99
99
|
const updatedManifest = await loadManifest(file);
|
|
100
100
|
if (updatedManifest) {
|
|
101
101
|
// Update context with new manifest
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/vite-plugin-webapp-experimental",
|
|
3
3
|
"description": "[experimental] Vite plugin for Salesforce Web Applications",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test:coverage": "vitest run --coverage"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@salesforce/webapp-experimental": "^1.
|
|
29
|
+
"@salesforce/webapp-experimental": "^1.2.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"vite": "^7.0.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "a0221e861c0f69880460a8b14243b7abd76b51f4"
|
|
45
45
|
}
|