Commit 8f7cb63
committed
bug symfony#52567 [AssetMapper] Fixing js sourceMappingURL extraction when sourceMappingURL used in code (weaverryan)
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
[AssetMapper] Fixing js sourceMappingURL extraction when sourceMappingURL used in code
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony#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!
Commits
-------
b3635e3 [AssetMapper] Fixing js sourceMappingURL extraction when sourceMappingURL used in codeFile tree
2 files changed
+28
-2
lines changed- src/Symfony/Component/AssetMapper
- ImportMap/Resolver
- Tests/ImportMap/Resolver
2 files changed
+28
-2
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
252 | 255 | | |
253 | 256 | | |
254 | 257 | | |
| |||
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
434 | 457 | | |
435 | 458 | | |
436 | 459 | | |
| |||
0 commit comments