appleboy / appleboy/gulp-compass
Gulp-compass compressing sass not working
- Dominant language
- JavaScript
- Stars
- 172
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
Running **Sass 3.4.3**, **Compass 1.0.1**, **Gulp 3.8.8** and **Gulp-compass 1.3.1**
```
var gulp = require('gulp');
var compass = require('gulp-compass');
var gutil = require('gulp-util');
gulp.task('compass', function() {
gulp.src('comp/sass/style.scss')
.pipe(compass({
sass: 'comp/sass',
image: 'dev/theme/images',
style: 'compressed'
})
.on('error', gutil.log))
.pipe(gulp.dest('dev/theme/css'))
});
```
compass Task is compiling the sass but compression is not working. It output a normal uncompressed css file.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported Gulp task and reproduce the output using Sass 3.4.3, Compass 1.0.1, Gulp 3.8.8, and gulp-compass 1.3.1. Inspect how the `style: 'compressed'` option is handled, then verify that the generated CSS in `dev/theme/css` is compressed rather than normal uncompressed CSS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, sass
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100