Move to scss, lint and concat scss files
This commit is contained in:
parent
e605acd4b2
commit
500e009dee
6 changed files with 4601 additions and 1521 deletions
2227
css/src/style.scss
Normal file
2227
css/src/style.scss
Normal file
File diff suppressed because it is too large
Load diff
1515
css/style.css
1515
css/style.css
File diff suppressed because it is too large
Load diff
2370
css/style.scss
Normal file
2370
css/style.scss
Normal file
File diff suppressed because it is too large
Load diff
|
@ -61,8 +61,8 @@ const svgConfig = {
|
|||
prefix: '.ico-%s',
|
||||
sprite: "../img/sprites.svg",
|
||||
render: {
|
||||
css: {
|
||||
dest: "../css/sprite.css"
|
||||
scss: {
|
||||
dest: "../css/src/sprite.scss"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -92,8 +92,7 @@ gulp.task('build', ['lint'], () => {
|
|||
.pipe(gulp.dest(destinationFolder));
|
||||
});
|
||||
|
||||
// gulp.task('default', ['build', 'vendor', 'scsslint', 'scssConcat']);
|
||||
gulp.task('default', ['build', 'vendor', 'svg_sprite']);
|
||||
gulp.task('default', ['build', 'vendor', 'scsslint', 'scssConcat']);
|
||||
|
||||
gulp.task('lint', () => {
|
||||
return gulp.src(lintSources)
|
||||
|
@ -118,7 +117,7 @@ gulp.task('scssConcat', ['svg_sprite'], () => {
|
|||
.pipe(gulp.dest(scssDestinationFolder));
|
||||
});
|
||||
|
||||
gulp.task('scssConcatWatch', () => {
|
||||
gulp.task('scssConcatWatch', ['scsslint'], () => {
|
||||
return gulp.src(scssSources)
|
||||
.pipe(concat(scssBuildTarget))
|
||||
.pipe(gulp.dest(scssDestinationFolder));
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
script('tasks', 'vendor_legacy/jquery-timepicker/jquery.ui.timepicker');
|
||||
script('tasks', 'vendor/ical.js/build/ical');
|
||||
style('tasks', 'style');
|
||||
style('tasks', 'sprite');
|
||||
style('tasks', 'vendor/angularui/ui-select/select2');
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in a new issue