-
Notifications
You must be signed in to change notification settings - Fork 1.2k
copy static images w/o renaming them? #347
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
Comments
Rewrites are performed by the grunt rev task:
You can exclude files the same way you do with any grunt task, with a negative matching pattern at the end of the src files list, e.g.
|
It still renamed them. On Sun, Jul 13, 2014 at 10:18 PM, Tyler Henkel [email protected]
Anthony Ettinger |
This fixed it:
|
I have some static images that my API assumes are always the same name.
The
grunt build
step will renamefoo.png
to./public/images/xxxxxx-foo.png
for caching reasons. However my API has no way of knowing what the new image filename is at runtime. Is there anyway to skip renaming of certain images?Image in question is
./app/images/default-profile-image.png
. The API will return a url to that image and assumes it is not renamed.The text was updated successfully, but these errors were encountered: