Skip to content

Commit 13f3978

Browse files
committed
fix(cssnano): disable reduceIdents
1 parent 9a86bf5 commit 13f3978

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tools/manual_typings/seed/cssnano.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ declare module 'cssnano' {
44
discardComments: {
55
removeAll: boolean;
66
};
7-
discardUnused:boolean;
8-
zindex:boolean;
7+
discardUnused: boolean;
8+
zindex: boolean;
9+
reduceIdents: boolean;
910
}
1011

1112
interface ICssnano {

tools/tasks/seed/build.html_css.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ if (isProd) {
2222
processors.push(
2323
cssnano({
2424
discardComments: {removeAll: true},
25-
discardUnused: false, // unsafe, see http://mxs.is/googmr
26-
zindex: false // unsafe, see http://mxs.is/googmq
25+
discardUnused: false, // unsafe, see http://goo.gl/RtrzwF
26+
zindex: false, // unsafe, see http://goo.gl/vZ4gbQ
27+
reduceIdents: false // unsafe, see http://goo.gl/tNOPv0
2728
})
2829
);
2930
}

0 commit comments

Comments
 (0)