mirror of https://github.com/snachodog/mybuddy.git
Fix gulp styles:app task for static_src folder name change.
This commit is contained in:
parent
eefa00bfd3
commit
a114ce7421
|
@ -4,4 +4,4 @@
|
|||
@import 'global';
|
||||
@import '../../../node_modules/bootstrap/scss/bootstrap';
|
||||
|
||||
@import '../../../**/static/scss/*';
|
||||
@import '../../../**/static_src/scss/*';
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue