Skip to content

Commit

Permalink
feat: cssnano added
Browse files Browse the repository at this point in the history
  • Loading branch information
danipv54 committed Jul 16, 2022
1 parent 7f9e617 commit 11573e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function css() {
return src('src/scss/style.scss')
.pipe(sourcemaps.init())
.pipe( sass())
.pipe( postcss([autoprefixer()])) //add cssnano() to minify your code if you need it
.pipe( postcss([autoprefixer(),cssnano()])) //add cssnano() to minify your code if you need it
.pipe(sourcemaps.write('.'))
.pipe( dest('build/css'));
}
Expand Down

1 comment on commit 11573e0

@danipv54
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cssnano added

Please sign in to comment.