Skip to content

Gulp plugin to resolve all scss @import's and merge into one file

License

Notifications You must be signed in to change notification settings

arcxyz/gulp-scss-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

var scssMerge = require('gulp-scss-merge');

gulp.task('sass:merge', function() {
  return gulp.src('./src/scss/main.scss')
    .pipe(scssMerge('main.all.scss'))
    .pipe(gulp.dest('./src/scss/'));
});

TODO

  • Add unit tests
  • Read files asynchronously (breaks with our setup)
  • Support for SCSS multi-line @import's
  • Ignore native CSS @import's

About

Gulp plugin to resolve all scss @import's and merge into one file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published