Skip to content

Commit

Permalink
chore(deps): switch from gulp-cssmin to gulp-cleancss
Browse files Browse the repository at this point in the history
  • Loading branch information
barronhagerman committed Jun 17, 2024
1 parent e61f034 commit 0622673
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 346 deletions.
2 changes: 1 addition & 1 deletion dist/css/style.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const merge = require('merge-stream');
const header = require('gulp-header');
const rename = require('gulp-rename');
const sass = require('gulp-sass')(require('sass'));
const cssmin = require('gulp-cssmin');
const cleanCss = require('gulp-clean-css');
const svgstore = require('gulp-svgstore');
const svgmin = require('gulp-svgmin');
const connect = require('gulp-connect');
Expand Down Expand Up @@ -45,7 +45,7 @@ const styles = () => {

return gulp.src('src/css/core.scss')
.pipe(sass())
.pipe(cssmin())
.pipe(cleanCss())
.pipe(header(banner, { pkg: pkg }))
.pipe(rename('style.min.css'))
.pipe(gulp.dest('dist/css'))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"devDependencies": {
"del": "^6.1.1",
"gulp": "^4.0.2",
"gulp-clean-css": "^4.3.0",
"gulp-connect": "^5.7.0",
"gulp-cssmin": "^0.2.0",
"gulp-header": "^2.0.9",
"gulp-imagemin": "^7.1.0",
"gulp-livereload": "^4.0.2",
Expand Down
Loading

0 comments on commit 0622673

Please sign in to comment.