ember-cli / ember-cli/broccoli-asset-rewrite

Doesn't handle multiple, similar, reference to the same file

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
50
PR merge metrics
No merged PRs in 30d

Description

See original issue here: [https://github.com/rickharrison/broccoli-asset-rev/issues/116](https://github.com/rickharrison/broccoli-asset-rev/issues/116)

Given the input:
```


```

And a fingerprint of `https://mycdn.com/`

The output is:
```


```

(Note the incorrect slash at the start of the second URL.)

This can be avoided by using the exact same URLs everywhere in your source code. It would be nice, however, if the rewrite engine handled this automatically (eg a sort to process the longer replacements first?)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.