Skip to content

ngtemplates build step misses out on revisioning #360

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

Closed
Climax777 opened this issue Jul 16, 2014 · 5 comments
Closed

ngtemplates build step misses out on revisioning #360

Climax777 opened this issue Jul 16, 2014 · 5 comments
Labels

Comments

@Climax777
Copy link

Hi

The ngtemplates build task will not have rev'd assets. Is it possible to rewrite the built templates as a final step? Maybe a regex replace will be enough.

I not only need to revision rewrite them, but I would also like to CDN prepend them with my CDN.

I've managed to do this for non-template related includes (like css etc.), but not angular templates.

This is all necessary for me, because I need to serve all assets from CDN, and currently template dependencies will not be served.

@Climax777
Copy link
Author

It may be related to: #347

@Climax777
Copy link
Author

Okay I see now that it is working with usemin. I had a problem with imagemin not generating assets.

However there is no prefix being applied to the urls.

How would I apply a CDN to those urls (in the ng-templates)?

@JaKXz JaKXz added the question label Jul 18, 2014
@JaKXz
Copy link
Collaborator

JaKXz commented Aug 14, 2014

Sorry for the delayed response @Climax777, is your question related to #441?

@Climax777
Copy link
Author

It is not related to my original question, but it does answer a related question I have been meaning to ask. Thanks

@aendra-rininsland
Copy link

I'm having the same issue, and I think #802 is a dupe of this.

Edit: I solved my problem, which involved a SVG file with hyphens in the filename. Changing the filename to camelcase solved everything!

@Awk34 Awk34 closed this as completed Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants