diff --git a/server/render-service/README.md b/server/render-service/README.md index 1c641c4..cb344a7 100644 --- a/server/render-service/README.md +++ b/server/render-service/README.md @@ -13,12 +13,23 @@ that same container. API (used to verify the dependency versions/licenses in `package.json` actually exist and resolve). The code is written carefully against each library's documented API (`@excalidraw/utils`'s `exportToSvg`, -`@resvg/resvg-js`'s `Resvg` class), but the first real build -(`docker compose build`) is the first time this has actually executed -end to end. If something's off, `docker compose logs` will show it -- -most likely candidates are `exportToSvg`'s actual return type (string vs. -DOM element -- handled defensively, see server.js) or a font-rendering -quirk, not a wrong API shape. +`@resvg/resvg-js`'s `Resvg` class), but `docker compose build`+actually +running it is the first time this has executed end to end -- and the +first real run did in fact crash: `@excalidraw/utils`'s bundle touches +bare browser globals (`devicePixelRatio`, `location`, `matchMedia`, ...) +the same way inline `