mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-15 10:11:50 +08:00
fix(@angular-devkit/build-webpack): skip transition property optimization
jakubpawlowicz/clean-css#1050 to be fixed before removing this option. Fix #12408
This commit is contained in:
parent
8b400f2f74
commit
387d64c317
@ -63,7 +63,11 @@ export class CleanCssWebpackPlugin {
|
||||
hook(compiler, (compilation: compilation.Compilation, chunks: Array<Chunk>) => {
|
||||
const cleancss = new CleanCSS({
|
||||
compatibility: 'ie9',
|
||||
level: 2,
|
||||
level: {
|
||||
2: {
|
||||
skipProperties: ['transition'] // Fixes #12408
|
||||
}
|
||||
},
|
||||
inline: false,
|
||||
returnPromise: true,
|
||||
sourceMap: this._options.sourceMap,
|
||||
|
Loading…
x
Reference in New Issue
Block a user