Skip to content

feat(xpkg): support regional source maps#28

Merged
Sunrisepeak merged 2 commits into
mainfrom
feat/source-map-global-cn
Jul 12, 2026
Merged

feat(xpkg): support regional source maps#28
Sunrisepeak merged 2 commits into
mainfrom
feat/source-map-global-cn

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Summary

  • add xpm.source = { GLOBAL = ..., CN = ... } parsing
  • preserve legacy string source and version-level URL/mirror behavior
  • normalize root/platform source maps into the existing resolver output
  • default to GLOBAL while exposing CN and other regions as fallback candidates
  • bump the package version to 0.0.45

Verification

  • mcpp test -- --gtest_filter='*SourceMap*'
  • mcpp test

@Sunrisepeak Sunrisepeak merged commit a4640cd into main Jul 12, 2026
1 check passed
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.

1 participant