-
Notifications
You must be signed in to change notification settings - Fork 339
How to configure usemin to only replace the files with the revved version of the filerev task #456
Comments
@Avien, just an idea, but have you tried not to run the
you do:
where But what do you want to achieve but replacing files with revved version? Is it a scenario where you want to build a non-minified dist version, but still be able to build a full minified revved version ? |
Exactly Commenting the tasks in the build tasks alone did not work, it would still generate a minified version Sent from my iPhone
|
@Avien in my experience I never deploy debugable version on server, except if something fails, which means that I've setup my grunt tasks to build either a full optimized (minified+revved) version or a not optimized. Is it something you can consider ? |
ping @Avien |
Actually I managed to skip the uglification task and copy the concatenated files to the dist folder to be revved by using grunt copy |
I don't want concatenation or uglification or to replace all the blocks in the html, I only want the usemin to replace the files with the revved version create by filerev task.
However I still want to have the blocks defined in the html for full dist version (with uglify+concat etc...)
How is that possible?
Thanks
The text was updated successfully, but these errors were encountered: