Open tomdale opened 8 years ago
Thanks for reporting. Can you add assetMap.json
to the exclude
property to fix this?
@rickharrison We just removed json
from replaceExtensions
since it was no longer needed (it was left over from using fixture data that had since been moved to talking to an API server). That's a good idea, though—and perhaps adding the assetMapPath
to exclude
by default could be a nice improvement.
@rickharrison wouldn't adding assetMap.json
to exclude
only avoid fingerprinting the file itself but not the assets inside it? I'm able to use exclude
to cancel files matched by the extensions
option (they don't get fingerprinted themselves) but not the ones matched by replaceExtensions
(the assets inside them still get fingerprinted).
[EDIT]: I noticed there's an ignore
option for this.
Just ran into a tough-to-debug issue with broccoli-asset-rev that was causing issues in FastBoot. FastBoot relies on the asset map to generate its own manifest file.
However, in one of the apps I'm working on, they had added
json
to thereplaceExtensions
array (which I'd guess may be fairly common). Unfortunately, theassetMap.json
file is also rewritten.In effect, that means that instead of:
You instead get the prepended URL added to each path: