Which part? Which one?
Source maps upload
Description
Using vite-plugin-top-level-await (v1.6.0) breaks source map uploads.
For some reason, the plugin renames map files to debug IDs. For example, index-123.js.map becomes <debug-id> .js.map, so the uploader cannot find the maps in production. Removing the plugin restores expected behavior: debug IDs are still used, but maps are uploaded with the correct filenames.
Suggested Solution
Improve documentation by adding this information in the known conflicting packages area, in the source maps troubleshoot page.
Which part? Which one?
Source maps upload
Description
Using
vite-plugin-top-level-await(v1.6.0) breaks source map uploads.For some reason, the plugin renames map files to debug IDs. For example,
index-123.js.mapbecomes<debug-id> .js.map, so the uploader cannot find the maps in production. Removing the plugin restores expected behavior: debug IDs are still used, but maps are uploaded with the correct filenames.Suggested Solution
Improve documentation by adding this information in the known conflicting packages area, in the source maps troubleshoot page.