Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Enable re-injecting "use [...]" before Debug ID code snippet #2466

Copy link
Copy link

Description

@szokeasaurusrex
Issue body actions

For indexed sourcemaps (see parent issue), we can only fix sourcemaps after injection by adjusting the offsets. This is because the indexed sourcemap could contain remote sourcemaps

If the minified source starts with "use […]", we cannot use the method we use with normal sourcemaps, which is to inject after the "use […]". Instead, we will re-inject this "use […]" string before the debug ID code snippet. The string will appear twice in the minified source, but that should be okay, since the source mapping will still work.

Reactions are currently unavailable

Metadata

Metadata

Labels

CLIProduct areaProduct areaFeatureIssue typeIssue type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.