Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[AssetMapper] Fixing js sourceMappingURL extraction when sourceMappingURL used in code #52567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

weaverryan
Copy link
Member

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #52547
License MIT

We extract & remove sourceMappingURL because we don't (at least currently) also download the source map file. This fixes the case where the sourceMappingURL string itself is used in the code.

Cheers!

@nicolas-grekas nicolas-grekas force-pushed the asset-mapper-fix-js-sourcemap-extraction branch from 97c1bed to b3635e3 Compare November 14, 2023 09:44
@nicolas-grekas
Copy link
Member

Thank you @weaverryan.

@nicolas-grekas nicolas-grekas merged commit 8f7cb63 into symfony:6.4 Nov 14, 2023
@weaverryan weaverryan deleted the asset-mapper-fix-js-sourcemap-extraction branch November 14, 2023 12:15
This was referenced Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Requiring es-module-shims locally in AssetMapper causes console error
3 participants