Closed Lin84 closed 7 years ago
Having gulp-uglify
in the pipeline even after uglifyify
transform was on purpose back when we created the pipeline. The motivation was that uglifyify optimizes each file separately before being added to the bundle while uglify should still process the whole bundle after it’s combined.
I can’t find any docs to that, but there is at least a hint: http://stackoverflow.com/a/40257609/1149395
I think we should test whether there are any noticeable savings when using both of them and keep uglify there if so.
remove 'gulp-uglify' from package json and gulp task for JS for minify JS will use only: 'uglifyify'