Closed igorlino closed 8 years ago
Probably a quite important feature, since the highly optimized output of CSS and JS cannot be debugged in a production environment.
Ah yes, I forgot to mentioned, I removed/replaced the usage of gulp-csso because it does not support sourcemaps and it has quite low maintenance.
Enter minify-css. Wich supports sourcemaps and has active development. :)
Optimized CSS output is still the same good.
Corrected problem with the gulp-less. Updated a couple of libraries to their latest version.
Unfortunately the sourcemaps files don't match since the gulp-rev-replace is not able to mmm, rename properly the filenames.
So one needs to comment: .pipe($.rev()) .pipe($.revReplace())
of the 'optimize' target, so the nasty renaming bug does not affect the sourceMappingURL