mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #8028 from overleaf/ae-css-minimizer
Disable cssnano mergeLonghand optimisation in production webpack config GitOrigin-RevId: cfd19ae5bdbcb86a9c97035b230f5f03f5c7aad0
This commit is contained in:
parent
f00bdeb3f1
commit
81816cfa2c
1 changed files with 6 additions and 1 deletions
|
@ -22,7 +22,12 @@ module.exports = merge(
|
|||
keep_fnames: /(Error|Exception)$/,
|
||||
},
|
||||
}),
|
||||
new CssMinimizerPlugin(),
|
||||
new CssMinimizerPlugin({
|
||||
minimizerOptions: {
|
||||
// disable mergeLonghand to avoid a cssnano bug https://github.com/cssnano/cssnano/issues/864
|
||||
preset: ['default', { mergeLonghand: false }],
|
||||
},
|
||||
}),
|
||||
],
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue