Ember-Cli (0.40) when deployed to a hero

I am deploying ember-cli app for heroku and almost everything works as hoped. The only problem is that when the app precompiles, it adds the fingerprint to the images and assets as expected, but does not add them to the resource reference in the stylesheet. Specifically, I have multiple images as background images in my stylesheets that cannot be found when deployed due to adding a fingerprint to the file. How can I get the fingerprint added to the resource path link in the stylesheet, or tell ember / heroku not to add fingerprints to any files? Thanks for the help.

+3


source to share


2 answers


A bit late coming back to this, but now I just disabled the fingerprint by adding this to Brocfile.js



var app = new EmberApp({
  fingerprint: {
    enabled: false
  }
});
      

Run codeHide result


0


source


You just need to update to the latest version of the Ember CLI. As of version 0.1.3 , there is no need to disable fingerprints in the Ember CLI. I think it fixed this stretch request .

According to the Ember CLI guide, steps to upgrade to the latest version of the Ember CLI are included with each version and can be found here .



I was having problems with Lightbox2 and Fancybox (images) before updating. After the update, all fingerprint links are applied correctly.

0


source







All Articles