You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: W-21111977 consume error-page template from @salesforce/webapp-experimental/proxy
Update plugin-webapp to import the error page HTML template from the
@salesforce/webapp-experimental proxy package (v1.23.0) instead of
bundling it locally.
Migration changes:
- ErrorPageRenderer now uses getErrorPageTemplate() from
@salesforce/webapp-experimental/proxy (direct import, no workarounds)
- Removed local error-page.html template (now lives in webapps package)
- Removed scripts/copy-templates.cjs (no longer needed)
- Removed postbuild script from package.json
- Bumped @salesforce/webapp-experimental dependency to ^1.23.0
Bug fixes included:
- DevServerManager: emit DevServerError directly instead of wrapping
in SfError, so the proxy can display the "Dev Server Error" page
when dev server crashes
- ProxyServer: add socket error handler to prevent ECONNRESET from
crashing the proxy when dev server dies mid-connection
- ProxyServer: remove label/version from fallback manifest (not in type)
Depends on: salesforce-experience-platform-emu/webapps#86 (merged)
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments