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
Aki noticed recently that CSS sourcemaps are currently broken. I think this occurred in f792847 when we migrated from lessprefixer to gulp-autoprefixer. It seems to be due to sindresorhus/gulp-autoprefixer#10, which is still unresolved.
Move back to lessprefixer. Unfortunately, this will involve changing all our LESS back to lessprefixer's mixins, which may be a bit of a chore at this point.
Just live with it until either of the aforementioned bugs in less-plugin-autoprefix or gulp-autoprefixer are fixed. In the meantime, we could potentially offer some kind of environment variable that disables the autoprefixer in favor of having usable sourcemaps (this was done in 38de9d2).
The current workaround for this is to disable the autoprefixer by setting LESS_AUTOPREFIXER to off, which was added in 38de9d2.
Aki noticed recently that CSS sourcemaps are currently broken. I think this occurred in f792847 when we migrated from lessprefixer to
gulp-autoprefixer. It seems to be due to sindresorhus/gulp-autoprefixer#10, which is still unresolved.In #386, Aki tried moving to
less-plugin-autoprefixto resolve this problem, but that seems to be plagued by less/less-plugin-autoprefix#7 (see also #386 (comment)).Potential solutions:
Attempt to downgrade our version of LESS, which Aki reportedly had some success with (but may not have committed to her PR, since it's still not working on my end).Can't do this due to v2.0.3 Undefined is not a function gulp-community/gulp-less#140.less-plugin-autoprefixorgulp-autoprefixerare fixed. In the meantime, we could potentially offer some kind of environment variable that disables the autoprefixer in favor of having usable sourcemaps (this was done in 38de9d2).The current workaround for this is to disable the autoprefixer by setting
LESS_AUTOPREFIXERtooff, which was added in 38de9d2.