Skip to content
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

Removing "Usemin has not created uglify.generated yet" #165

Open
dadepo opened this issue Aug 18, 2016 · 2 comments
Open

Removing "Usemin has not created uglify.generated yet" #165

dadepo opened this issue Aug 18, 2016 · 2 comments

Comments

@dadepo
Copy link

dadepo commented Aug 18, 2016

When using useminPrepare By default the flow is: concat -> uglify. but in my build I would like to skip the uglify step so I configured the flow with only concat. Thing is when I now build I get the following message from ngTemplate

[INFO] Running "ngtemplates:dist" (ngtemplates) task
[INFO] File .tmp/templateCache.js created.
[INFO] >> Usemin has not created uglify.generated yet!

Can you advice on if this is just a warning (i.e everything is ok) and how to get rid of this message?

@wal0x
Copy link

wal0x commented Sep 8, 2017

Same issue here !

@houtianze
Copy link

houtianze commented May 31, 2019

Google leads me here. I think I found a solution/workaround is in your useminPrepare task, you still keep the uglify step (or simply use the default), I think it will create those .generated tasks (which generates files to .tmp only), but in you main task, you just don't run the uglify step, then your files not uglified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants