We are setting source maps for our application. The application runs in Vercel and we have installed the Sentry integration. Going through the installation of the integration was pretty straight forward and it seems the Vercel project was connected to the Sentry project. 5 new environment variables where setup in Vercel. One of these seems a bit odd:
I am not sure if we are to put a value here, though how could we when this changes with each deploy?
The application is written with Sveltekit, which uses Vite. Sentry has been used for a while on the application and is pretty well instrumented.
During the build process the map files are being created (e.g.
.sveltekit/output/client/_app/chunks/typingInterval-b805e32c.js.map. 0.90 KiB).
In Sentry, under the project’s source maps, we do have a row for each deployment, thought they all say 0 artifacts. There is no mention of
Sentry in the build log, we are not sure if this is normal or not.
What are some troubleshooting steps we can see why the maps are not making it to Sentry? We assume there are no additional packages which need to be installed since source map files are being created. Doesn’t the Vercel–Sentry integration upload them to Sentry? Does it matter which Vercel plan we are on?
Thank you for your time.