komitywa / plantingjs

JavaScript-based engine that let You plant yours neighborhood.
http://plantingjs.org
MIT License
5 stars 15 forks source link

Output the line number from the SCSS file in compiled CSS #190

Open twain83 opened 8 years ago

twain83 commented 8 years ago

Probably it need to create source map and install sass-gulp plugin to gulp.

magul commented 8 years ago

Actually we already are using gulp-sass to compile sass to css. Here @twain83 ask for a way to serve uncompilled sass in browser or to create way to see what source sass rule is responsible for css style in running application.

cmwd commented 8 years ago

I think the easiest and the most common solution is gulp-sourcemap. We need to create instance in pipeline before preprocessors and save it after.