Skip to content

Always emit indexed source maps; remove unstable_allowIndexMap (#1764)#1764

Open
robhogan wants to merge 2 commits into
mainfrom
export-D110757150
Open

Always emit indexed source maps; remove unstable_allowIndexMap (#1764)#1764
robhogan wants to merge 2 commits into
mainfrom
export-D110757150

Conversation

@robhogan

@robhogan robhogan commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary:

Index maps are now safe to emit unconditionally, so this removes the choice, updates snapshots, and cleans up dead code.

Note that unstable_allowIndexMap was only recently added and has never been in an published release, so there's no danger removing it.

The observable change that Metro will now emit index maps has a changelog entry in the previous diff that flipped the defaults.

Changelog: Internal`

Reviewed By: motiz88

Differential Revision: D110757150

…ults to `true`

Differential Revision: D110759649
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 6, 2026
@meta-codesync meta-codesync Bot force-pushed the export-D110757150 branch from d7879c6 to 30ec906 Compare July 6, 2026 15:19
@meta-codesync meta-codesync Bot force-pushed the export-D110757150 branch from 30ec906 to d7879c6 Compare July 6, 2026 15:19
robhogan added a commit that referenced this pull request Jul 6, 2026
Summary:
Pull Request resolved: #1764

Index maps are now safe to emit unconditionally, so this removes the choice, updates snapshots, and cleans up dead code.

Note that `unstable_allowIndexMap` was only recently added and has never been in an published release, so there's no danger removing it.

The observable change that Metro will now emit index maps has a changelog entry in the previous diff that flipped the defaults.

Changelog: Internal`

Reviewed By: motiz88

Differential Revision: D110757150
@robhogan robhogan force-pushed the export-D110757150 branch from d7879c6 to d3a025f Compare July 6, 2026 15:21
@meta-codesync meta-codesync Bot changed the title Always emit indexed source maps; remove unstable_allowIndexMap Always emit indexed source maps; remove unstable_allowIndexMap (#1764) Jul 6, 2026
@meta-codesync

meta-codesync Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

@robhogan has exported this pull request. If you are a Meta employee, you can view the originating Diff in D110757150.

Summary:
Pull Request resolved: #1764

Index maps are now safe to emit unconditionally, so this removes the choice, updates snapshots, and cleans up dead code.

Note that `unstable_allowIndexMap` was only recently added and has never been in an published release, so there's no danger removing it.

The observable change that Metro will now emit index maps has a changelog entry in the previous diff that flipped the defaults.

Changelog: Internal`

Reviewed By: motiz88

Differential Revision: D110757150
@robhogan robhogan force-pushed the export-D110757150 branch from d3a025f to a035fe7 Compare July 6, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant