2023-08-10 - LogRocket for SvelteKit¶
Problem¶
User sessions logged with LogRocket were not picking up the required styles/images/icons when being replayed.
Logrocket does not have access to any of the app related artefacts because they are hosted on a server that is secured by IAP.
Solution¶
When new version of the app are deployed, we copy all the artifacts to a public bucket and point LogRocket to that host to pickup everything when it replays a session.
Leverage the Magic¶
Leveraging our existing cloud build scripts, add an extra deployment step to copy from the /static artfefacts folder created by SvelteKit to the public folder.
Last Refreshed¶
Doc Refreshed: 2024-05-23