ember-cli / ember-cli/broccoli-asset-rewrite
Prepending of relative and absolute path to same asset fails
Open
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
When having multiple paths to same asset, but mixed with absolute and relative paths, prepending fails:
```
let relativePath = "assets/images/some-image.svg";
let absolutePath = "/assets/images/some-image.svg";
```
generates this:
```
let relativePath = "https://cloudfront.net/assets/images/some-image-fingerprinted.svg";
let absolutePath = "/https://cloudfront.net/assets/images/some-image-fingerprinted.svg";
```
I created PR #71 with a failing spec. I couldn't find and fix the code myself....
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.