Permalink
Browse files

update package json, change gulpfile for 4.0.0

  • Loading branch information...
aaroniker committed Jan 5, 2019
1 parent f238c74 commit d899d613f79d4112258206acdc88ad2ec8748f79
Showing with 12 additions and 15 deletions.
  1. +8 −11 gulpfile.js
  2. +4 −4 package.json
@@ -2,19 +2,16 @@ var gulp = require('gulp');
var rename = require('gulp-rename');
var sass = require('gulp-sass');

gulp.task('default', ['styles']);

gulp.task('styles', function() {
gulp.src(['**/modules/**/style.scss'])
.pipe(sass({
outputStyle: 'compressed'
}))
.pipe(rename(function(file) {
file.dirname += "/dist";
}))
.pipe(gulp.dest('.'))
return gulp.src(['**/modules/**/style.scss']).pipe(sass({
outputStyle: 'compressed'
})).pipe(rename(function(file) {
file.dirname += "/dist";
})).pipe(gulp.dest('.'))
});

gulp.task('watch', function(cb) {
gulp.watch('**/modules/**/*.scss', ['styles']);
return gulp.watch('**/modules/**/*.scss', gulp.series('styles'));
});

gulp.task('default', gulp.series('styles'));
@@ -11,17 +11,17 @@
"babel-loader": "^8.0.4",
"babel-preset-env": "^1.7.0",
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"file-loader": "^2.0.0",
"css-loader": "^2.1.0",
"file-loader": "^3.0.1",
"glob": "^7.1.3",
"gulp": "^3.9.0",
"gulp": "^4.0.0",
"gulp-rename": "^1.4.0",
"gulp-sass": "^4.0.2",
"json-loader": "^0.5.7",
"lodash": "^4.17.11",
"node-sass": "^4.9.4",
"sass-loader": "^7.1.0",
"sass-resources-loader": "^1.3.4",
"sass-resources-loader": "^2.0.0",
"svg-inline-loader": "^0.8.0",
"vue-html-loader": "^1.2.4",
"vue-loader": "^15.4.2",

0 comments on commit d899d61

Please sign in to comment.