Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Commit

Permalink
Calc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangittings committed Mar 11, 2020
1 parent c9ac60b commit c2462d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ gulp.task('scripts', function () {
gulp.task('css', function () {
return gulp
.src(paths.styles.src)
.pipe($.postcss([$.postcssImport(), $.postcssCssVariables(), $.cssnano()]))
.pipe($.postcss([$.postcssImport(), $.cssnano({
preset: ['default', {
calc: false,
}],
})]))
.pipe($.rename({
suffix: '.min'
}))
Expand Down

0 comments on commit c2462d5

Please sign in to comment.