text: 'use strict';
  const path = require('path');
  const gulp = require('gulp');
  const sass = require('gulp-sass');
  const sourcemaps = require('gulp-sourcemaps');
  const PROJECT_DIR = path.resolve(__dirname);
  const SASS_FILES = `${PROJECT_DIR}/invest/static/sass/**/*.scss`;
  const CSS_DIR = `${PROJECT_DIR}/invest/static/css`;
  
  gulp.task('sass', function () {
    return gulp.src(SASS_FILES)
      .pipe(sourcemaps.init())
      .pipe(sass({
        includePaths: [
          './invest/',
        ],
        outputStyle: 'compressed'
      }).on('error', sass.logError))
      .pipe(sourcemaps.write('./maps'))
      .pipe(gulp.dest(CSS_DIR));
  });
  
  gulp.task('sass:watch', function () {
    gulp.watch(SASS_FILES, ['sass']);
  });
  
  gulp.task('default', ['sass']);
  