Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
bug 1379288: Build locale scss with gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhitlock committed Jul 10, 2017
1 parent 1bb4f12 commit 09f3702
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gulpfile.js
Expand Up @@ -9,12 +9,16 @@ const watch = require('gulp-watch');

// compiles top-level .scss files
gulp.task('styles', () => {
// only process files in /styles root
// all other .scss files are components/includes/libs
// Process files in /styles root
gulp.src('./kuma/static/styles/*.scss')
.pipe(sass().on('error', sass.logError))
// send compiled files to where expected by Django Pipeline
.pipe(gulp.dest('./static/styles'));
// Process files in /styles/locales
gulp.src('./kuma/static/styles/locales/*.scss')
.pipe(sass().on('error', sass.logError))
// send compiled files to where expected by Django Pipeline
.pipe(gulp.dest('./static/styles/locales'));
});

// lints .scss files with stylelint
Expand Down

0 comments on commit 09f3702

Please sign in to comment.