Sha256: 6a520c3d662b2cdc577a268a36f235ce66e9403110a76bc55c3ba9cbda5a0178

Contents?: true

Size: 628 Bytes

Versions: 2

Compression:

Stored size: 628 Bytes

Contents

var config = require("./config"),
    browser_sync = require("browser-sync"),
    handle_errors = require("./utilities/handle_errors");

module.exports = function(gulp, plugins) {
  return function() {
    return gulp.src(config.source.styles.main)
      .pipe(plugins.cssGlobbing(config.plugins.css_globbing))
      .pipe(plugins.sourcemaps.init())
      .pipe(plugins.sass(config.plugins.sass))
      .on("error", handle_errors)
      .pipe(plugins.autoprefixer(config.plugins.autoprefixer))
      .pipe(plugins.sourcemaps.write())
      .pipe(gulp.dest(config.destination.styles))
      .pipe(browser_sync.stream());
  };
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docks_theme_api-1.0.3 tasks/gulp/styles.js
docks_theme_api-1.0.2 tasks/gulp/styles.js