Open mehulkar opened 4 years ago
https://github.com/adopted-ember-addons/ember-cli-ifa might help. It was mentioned in #141
In our app I just use what you mentioned, except ${ENV.rootURL}assets
without the / before assets, so you don't get two /
s.
This doesn't get rewritten with the asset rev. One use case for this is in an Ember app that specifies a rootURL. Because a JS declaration to a path doesn't handle rootURLs, we have to prefix them with
${ENV.rootURL}/assets/images/sample.png
.