Skip to content

Source map upload conflicting with 'vite-plugin-top-level-await' plugin #16191

@tarikmehinagic

Description

@tarikmehinagic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions