theme_bootstrap icon indicating copy to clipboard operation
theme_bootstrap copied to clipboard

Autoprefixer loses mapping to less files.

Open gjb2048 opened this issue 10 years ago • 7 comments

Hello,

I fixed the source map URL in: https://github.com/gjb2048/theme_bootstrap/tree/master_autoprefixer - however the Autoprefixer mangles the map file making mappings in the CSS file only and losing the mappings to the LESS files:

2014-06-28 15_54_38-moodle 27

Cheers,

Gareth

gjb2048 avatar Jun 28 '14 14:06 gjb2048

See: #298

gjb2048 avatar Jun 28 '14 15:06 gjb2048

Just seen that 0.8.0 might have fixed this: https://github.com/nDmitry/grunt-autoprefixer#optionsmap

gjb2048 avatar Jun 28 '14 15:06 gjb2048

Annoyed as can make it work here: https://github.com/gjb2048/moodle-theme_shoehorn/tree/master_autoprefixer but not here: https://github.com/gjb2048/theme_bootstrap/tree/master_autoprefixer_two - note the updates in package.json

gjb2048 avatar Jun 28 '14 15:06 gjb2048

Oh, might be 'sourceMapRootpath' for me.

gjb2048 avatar Jun 28 '14 15:06 gjb2048

Nope :( - ok please could you guys have a bash at using Autoprefixer 0.8.0 with the Gruntfile config I have in https://github.com/gjb2048/theme_bootstrap/tree/master_autoprefixer_two and see if it works for you please.

gjb2048 avatar Jun 28 '14 15:06 gjb2048

I was going to upgrade autoprefixer to 0.8.0 anyway but not had time to commit it, and I'm just about to head off on holiday for the next week and a bit.

Locally I've got autoprefixer 0.8.0 and set it to support IE >= 9, Opera >= 12.1.

davidscotson avatar Jun 30 '14 07:06 davidscotson

Ok David.

I'm still confused why it works in my child theme and not in Bootstrap itself.

gjb2048 avatar Jun 30 '14 11:06 gjb2048