Skip to content

Feature/freezer source map support#1743

Merged
merryman merged 33 commits intomainfrom
feature/freezer-source-map-support
Feb 23, 2026
Merged

Feature/freezer source map support#1743
merryman merged 33 commits intomainfrom
feature/freezer-source-map-support

Conversation

@merryman
Copy link
Member

@merryman merryman commented Mar 6, 2025

Extends the source map support from #1710 to also cover frozen bundles. Cannot be merged before.

@merryman merryman linked an issue Mar 6, 2025 that may be closed by this pull request
@merryman merryman force-pushed the feature/freezer-source-map-support branch 2 times, most recently from edc2903 to a6f6e60 Compare March 12, 2025 17:45
@merryman merryman force-pushed the feature/freezer-source-map-support branch from 3d5cb65 to 1485339 Compare June 30, 2025 12:55
@merryman merryman marked this pull request as ready for review June 30, 2025 13:28
@merryman merryman requested a review from linusha June 30, 2025 13:29
@merryman merryman force-pushed the feature/freezer-source-map-support branch from 1485339 to 10a74ff Compare July 25, 2025 08:30
@merryman merryman force-pushed the feature/freezer-source-map-support branch from 10a74ff to 26cf4e6 Compare October 25, 2025 12:25
Apparently there is javascript code that manually freezes the classes/prototypes after they have been defined, which makes the in place re-initialization crash.
We now add an additional check in the transformed class that avoids running into that conflict.
Previously we would recycle the module url to pkg cache to allow us to retrieve the correct import map, which failed. We now use a dedicated import map cache, that takes care of merging overlapping import maps between different packages.
@merryman merryman force-pushed the feature/freezer-source-map-support branch from 26cf4e6 to f056388 Compare February 23, 2026 12:32
@merryman merryman merged commit bb3e5ec into main Feb 23, 2026
2 checks passed
@merryman merryman deleted the feature/freezer-source-map-support branch February 23, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debugging Worlds

1 participant