Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assetMap keys mysteriously also end up fingerprinted #127

Open
FelixAkk opened this issue May 18, 2018 · 1 comment
Open

assetMap keys mysteriously also end up fingerprinted #127

FelixAkk opened this issue May 18, 2018 · 1 comment

Comments

@FelixAkk
Copy link

FelixAkk commented May 18, 2018

Hi, I'm kind of lost looking for the origin of a specific problem. Any tips would be much appreciated!

The problem

The asset map is supposed to be original file paths as keys and the fingerprinted file paths as values. However in my setup ([email protected] and [email protected]) they are both fingerprinted, like this:

Symptom

assets/assetMap.json

{
  "assets": {
    "assets/assetMap-0a44e35a1e3c8f7d9a47daebc0c9982d-70f2499612cdd7ad97c2c1ea906011ce.json": "assets/assetMap-0a44e35a1e3c8f7d9a47daebc0c9982d-70f2499612cdd7ad97c2c1ea906011ce.json",
    "assets/assetMap-5bb51518a6cb320cc449d9cefeaa013b.json": "assets/assetMap-0a44e35a1e3c8f7d9a47daebc0c9982d-70f2499612cdd7ad97c2c1ea906011ce.json",
    "assets/feedbackfruits-c3a921b164bc7b188050bd95294d81b9.css": "assets/feedbackfruits-c3a921b164bc7b188050bd95294d81b9.css",
    "assets/feedbackfruits-c3a921b164bc7b188050bd95294d81b9.css-71651606cee8e5aaaee0a40e5cfe279c.map": "assets/feedbackfruits-c3a921b164bc7b188050bd95294d81b9.css-71651606cee8e5aaaee0a40e5cfe279c.map",
    "assets/feedbackfruits-694083976caaef79ec066a43a11866ba.js": "assets/feedbackfruits-694083976caaef79ec066a43a11866ba.js",
    "assets/feedbackfruits-ff41bb74ae0dc58507d8daee9b4e1e24.map": "assets/feedbackfruits-ff41bb74ae0dc58507d8daee9b4e1e24.map",

Diagnosing

I've tried with various options on/off like assetMapFingerprinting or checking if railsStyleManifest maybe doesn't suffer from this (it also does). The related tests here still pass tho and checking a fresh ember CLI setup also doesn't display this, so it seems there's something to my setup that causes this.

Any ideas? Tips on how to further diagnose this would already help! :)

@joankaradimov
Copy link

With the duplicate assetMap keys in assetMap.json this might be somehow related to #122. I have created #130, which fixes it.

I am unable to reproduce the issue described here, but it might be worth checking if the PR fixes this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants