Skip to content
This repository was archived by the owner on Sep 15, 2020. It is now read-only.

Commit 569db5b

Browse files
committed
Update clean-css config
1 parent 11d695d commit 569db5b

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

Gruntfile.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@ module.exports = function(grunt) {
3131
minifyCSS: {
3232
level: {
3333
1: {
34-
specialComments: 0
34+
specialComments: 0,
35+
roundingPrecision: 6
36+
},
37+
2: {
38+
all: false,
39+
mergeMedia: true,
40+
removeDuplicateMediaBlocks: true,
41+
removeEmpty: true
3542
}
3643
}
3744
},
@@ -130,7 +137,14 @@ module.exports = function(grunt) {
130137
options: {
131138
level: {
132139
1: {
133-
specialComments: 0
140+
specialComments: 0,
141+
roundingPrecision: 6
142+
},
143+
2: {
144+
all: false,
145+
mergeMedia: true,
146+
removeDuplicateMediaBlocks: true,
147+
removeEmpty: true
134148
}
135149
}
136150
},

0 commit comments

Comments
 (0)