Fix gulp styles:app task for static_src folder name change.

This commit is contained in:
Christopher Charbonneau Wells 2017-08-24 13:18:00 -04:00
parent eefa00bfd3
commit a114ce7421
3 changed files with 6 additions and 3 deletions

View File

@ -4,4 +4,4 @@
@import 'global';
@import '../../../node_modules/bootstrap/scss/bootstrap';
@import '../../../**/static/scss/*';
@import '../../../**/static_src/scss/*';

View File

@ -41,7 +41,10 @@ module.exports = {
'node_modules/tempusdominus-bootstrap-4/build/css/tempusdominus-bootstrap-4.css',
'node_modules/font-awesome/css/font-awesome.css'
],
app: 'babyblotter/static_src/scss/babyblotter.scss'
app: 'babyblotter/static_src/scss/babyblotter.scss',
ignore: [
'babyblotter.scss'
]
},
watchConfig: {
scriptsGlob: [

View File

@ -21,7 +21,7 @@ gulp.task('styles:vendor', function(cb) {
gulp.task('styles:app', function (cb) {
pump([
gulp.src(stylesConfig.app),
sassGlob(),
sassGlob({ignorePaths: stylesConfig.ignore}),
sass().on('error', sass.logError),
concat('app.css'),
gulp.dest(stylesConfig.dest)