is there a way to avoid client side script minification in dev mode?
Sorry if this is already answered or documented. Tried to fin it on the docs and searched on this forum but haven't been able to find what i'm looking for.
Is there an option or some way to avoid minification/concatenation of client side scripts in dev mode in order to be able to debug\read the code in an easier manner?
Thanks in advance.
Well, in dev mode, it is concatenated only, not minified, so that's a little easier.
We used to keep files separate, but that ended up causing issues that would only occur on production, so the decision was made to keep dev and production mode similar except for crucial differences (e.g. minified vs not minified).
As of last year there was an outstanding issue with the version of uglify-js we use, in that there's no
.mapfile generated that we can use. I don't quite know how to resolve that yet... perhaps it has been fixed now.
Thanks for your reply @julian