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
The problem is: if I put 'removelogging' too soon in my build task list, dist files are later overwritte, and consol log persist in dist: if I put it too late I get JavaScript syntax errors... Where is the right place, given this tasklist?
would like to know what's the best practice/answer for this too if anyone cares to comment?
personally, have settled on putting the 'removelogging' task after 'concat' and updated our project's 'uglify' task to minify the removelogging-generated JS file (i chose not to overwrite any existing file, concatenated or otherwise) as i also have 'uglify' set up to generate a JS sourcemap.
I use 'removelogging', with this setup in my Gruntfile.js:
The problem is: if I put 'removelogging' too soon in my build task list, dist files are later overwritte, and consol log persist in dist: if I put it too late I get JavaScript syntax errors... Where is the right place, given this tasklist?
The text was updated successfully, but these errors were encountered: