We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 465b1ea commit e48d545Copy full SHA for e48d545
packages/@angular/cli/plugins/cleancss-webpack-plugin.ts
@@ -37,9 +37,11 @@ export class CleanCssWebpackPlugin {
37
38
const cleancss = new CleanCSS({
39
compatibility: 'ie9',
40
- // use a safer optimization level
41
- // see: https://github.com/jakubpawlowicz/clean-css#optimization-levels
42
- level: 1,
+ // disables mergeIntoShorthands due to issue with merged style ordering
+ // see: https://github.com/jakubpawlowicz/clean-css/issues/1022
+ level: {
43
+ 2: { mergeIntoShorthands: false }
44
+ },
45
inline: false,
46
returnPromise: true,
47
sourceMap: this._options.sourceMap,
0 commit comments