-
Notifications
You must be signed in to change notification settings - Fork 113
Minify multiple JS files without combining #158
Comments
I found a good way here: |
That is not a good way at all, considering that:
It would be better to be able to tell what I want to minify and how using a closure mapper, for example... Edit (2019-10-24): Also consider an incremental task (for fine-grained up-to-date checks) + the Worker API (for parallel execution). They aren't really difficult if you follow the official user guides. |
Have there been any progress on this? Would it also be possible to obfuscate them separately? |
I saw this from @eriwen: https://stackoverflow.com/a/34187137 |
@ChrisAcrobat @eriwen |
Yes. I think I needed to do some changes to make it work for my project, but yes. I think it was remove ".min" and put in a directory instead. |
I want to minify multiple JS files in a directory without combining them together. for example I have these files in my directory:
first.js, second.js, third.js ....
and I want to have the minified version of them on the same directory and the same files.
Sorry, I'm not too familiar with Gradle and groovy syntax.
Is there any way to do so? I want to do something like that:
Right now I handled that by defining several Gradle task for each minifying!
The text was updated successfully, but these errors were encountered: