You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request: Have the option for two compiled JS files. One has all the application code and the other that is compiled less frequently that has all the libraries to reduce uglify time
#413
Open
odellcraig opened this issue
Dec 2, 2015
· 4 comments
The reason being that if you end up using a lot of libraries, uglify can take a really long time. Seems like the solution would be to uglify the library files infrequently.
The text was updated successfully, but these errors were encountered:
I think the solution is probably in an incremental build, which I hope to accomplish by replacing grunt with something more modern.
That said, uglify only runs when you do a compile - not when you do a build. The latter is meant for development, which is why expensive steps like uglification are skipped. Are you running compile during active development? If so, why did you choose to do so?
I only use it when deploying, but I deploy a couple times a day. It really wouldn't save much time - uglify only takes a few minutes (after I added a huge graphing library).
One other thing I was thinking about - is there a way to run a grunt watch without karma? The reason being that if the test suite gets big then it would increase the cycle time quite a bit on the watch. It would be nice to have a watch that did everything but run tests.
The reason being that if you end up using a lot of libraries, uglify can take a really long time. Seems like the solution would be to uglify the library files infrequently.
The text was updated successfully, but these errors were encountered: