Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Commit

Permalink
remove skipping of _ partials
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Zey committed Aug 26, 2015
1 parent 8bfcb19 commit df19cfc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ var gulpSass = function gulpSass(options, sync) {
if (file.isStream()) {
return cb(new gutil.PluginError(PLUGIN_NAME, 'Streaming not supported'));
}
if (path.basename(file.path).indexOf('_') === 0) {
return cb();
}
// This was making it very difficult to compile Minted UI fonts
// Instead, we opt to exclude files that start with _ in the scss matching globs
// when using gulp-sass
// if (path.basename(file.path).indexOf('_') === 0) {
// return cb();
// }
if (!file.contents.length) {
return cb(null, file);
}
Expand Down

0 comments on commit df19cfc

Please sign in to comment.