@lark-apaas/fullstack-vite-preset 1.0.32-alpha.7 → 1.0.32-alpha.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-vite-preset",
3
- "version": "1.0.32-alpha.7",
3
+ "version": "1.0.32-alpha.8",
4
4
  "files": [
5
5
  "lib",
6
6
  "src/empty.css",
@@ -519,7 +519,8 @@ if (!window.__VITE_ERROR_OVERLAY_INITIALIZED__) {
519
519
  // 过滤已知常见噪声 (favicon / apple-touch-icon / manifest 等浏览器自动请求),
520
520
  // 避免用户"页面日志"面板被这类无害 404 淹没
521
521
  if (/\/favicon\.(ico|png|svg)|\/apple-touch-icon|\/manifest\.json|\/robots\.txt/.test(url)) return;
522
- handleRuntimeError(new Error('Resource load failed: ' + tag.toLowerCase() + ' ' + url));
522
+ // 资源 404 只上报到页面日志,不 render overlay(避免整页遮盖用户预览)
523
+ logError(['Resource load failed', tag.toLowerCase(), url], 'runtimeError');
523
524
  }
524
525
  }
525
526
  }, true);