CSS to SCSS
This commit is contained in:
parent
f302f65cd7
commit
8cb84641ed
File diff suppressed because one or more lines are too long
@ -19,7 +19,7 @@ paths = {
|
||||
'../assets/js/*.js'
|
||||
],
|
||||
css: [
|
||||
'../assets/css/*.css'
|
||||
'../assets/scss/*.scss'
|
||||
]
|
||||
}
|
||||
|
||||
@ -44,6 +44,7 @@ gulp.task('js', function () {
|
||||
gulp.task('css', function () {
|
||||
|
||||
gulp.src(paths.css)
|
||||
.pipe(plugins.sass())
|
||||
.pipe(plugins.concat('main.css', {newLine: "\n"}))
|
||||
.pipe(plugins.autoprefixer('last 4 versions', '> 5%'))
|
||||
.pipe(plugins.minifyCss())
|
||||
|
@ -14,6 +14,7 @@
|
||||
"gulp-concat": "^2.3.4",
|
||||
"gulp-load-plugins": "^0.5.3",
|
||||
"gulp-minify-css": "^0.3.7",
|
||||
"gulp-sass": "^0.7.3",
|
||||
"gulp-uglify": "^0.3.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user