Ember build --environment production



ember build : when I do this everything is ok

ember build --environment production : when I do this is lost all my pictures on my pages!!

I don’t understand how to solve this because in the second case I see that all my icons in the assets folder has changed name and the navigator can’t connect to them.



Hi Vincent. I think fingerprinting is the catch here. In production build, assets will be fingerprinted and the asset links will be automatically converted to the fingerprinted url. If you have constructed the asset’s url (file name) then cli cannot able to map the file with the fingerprinted one.