You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so you can see that test.js has been fingerprinted, and test.json has not. This is reasonable, the default file extensions for broccoli-asset-rev contains "js" but not "json".
Notice that it has replaced the reference to test.json with the same fingerprint that it used for test.js, even though a:test.json should have a different fingerprint as it has different contents, and b:the test.json file in the 'dist' folder didn't get renamed, so the reference shouldn't have changed.
If I add 'json' to the list of extensions to process in the options, then it starts to work properly.
The text was updated successfully, but these errors were encountered:
Repro steps:
Create
app/index.html
containingCreate Brocfile.js containing:
Run
broccoli build dist
Now, look in the 'dist' folder. It contains
so you can see that test.js has been fingerprinted, and test.json has not. This is reasonable, the default file extensions for broccoli-asset-rev contains "js" but not "json".
Now look inside
dist/index.html
. It contains:Notice that it has replaced the reference to test.json with the same fingerprint that it used for test.js, even though a:test.json should have a different fingerprint as it has different contents, and b:the test.json file in the 'dist' folder didn't get renamed, so the reference shouldn't have changed.
If I add 'json' to the list of extensions to process in the options, then it starts to work properly.
The text was updated successfully, but these errors were encountered: