ubirak / gulp-uglifycss

Gulp plugin to use uglifycss
https://www.npmjs.org/package/gulp-uglifycss
MIT License
22 stars 5 forks source link

Sourcemap problems #25

Open puggan opened 6 years ago

puggan commented 6 years ago

Made an exemple at: https://github.com/puggan/gulp-test/commit/819afc7973af69b527cc89fea874433b8d672311

the all.css.map file works as expected, referencing to the right less-file.

but the all.min.css.map dosn't. after runing gulp the style for header references to b.less. if i run gulp re-uglifycss, the styles all refers to all.min.css

  1. Why do the 2 task give different results?
  2. What can I do to make the sourcemap work again?
puggan commented 6 years ago

Also reported at: https://github.com/gulp-sourcemaps/gulp-sourcemaps/issues/352

armandabric commented 6 years ago

Thank for reporting this. As it seems this is a well known bug on gulp-sourcemap (see https://github.com/gulp-sourcemaps/gulp-sourcemaps/issues/349), we will wait them to fix the issue and then apply it here