Skip to content

Commit

Permalink
creada tarea para compilar la version css
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvaro Felipe committed Sep 23, 2016
1 parent 703da41 commit c64471c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const gulp = require('gulp'),

let postcssPlugins = [
autoprefixer({browsers: 'last 2 versions'}),
cssnano({core:false})
cssnano({core:true})
];

let sassOptions = {
Expand All @@ -24,6 +24,13 @@ gulp.task('styles', () =>
.pipe(browserSync.stream())
);

gulp.task('compileCoreEdgrid', () =>
gulp.src('./ed-grid.scss')
.pipe(sass(sassOptions))
.pipe(postcss(postcssPlugins))
.pipe(gulp.dest('./css'))
);

gulp.task('scripts', () =>
gulp.src('./js/*.js')
.pipe(concat('scripts.js'))
Expand Down

0 comments on commit c64471c

Please sign in to comment.