ember-cli / broccoli-asset-rewrite

Broccoli plugin to rewrite a source tree from an asset map.
MIT License
10 stars 53 forks source link

Fix repeat images issue #53

Open inkless opened 7 years ago

inkless commented 7 years ago

This is to fix the issue mentioned here: https://github.com/rickharrison/broccoli-asset-rewrite/pull/47

NB: this also reverted replaceString to original version by supporting fragments, the reason is we want to support something like this:

assetPath: /devassets/foo.jpg should rewrite to: //cloudfront.net/assets/foo-fingerprinted.jpg