fix(cssnano-preset): disable z-index minification (#7593)

* fix(cssnano-preset): disable z-index minification

* add z-index tests link to pages tests

* revert change to docs
This commit is contained in:
dpang314 2022-06-15 06:13:25 -04:00 committed by GitHub
parent 7e9db564d1
commit 1f0440074a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 0 deletions

View file

@ -13,6 +13,8 @@ const preset: typeof advancedBasePreset = function preset(opts) {
const advancedPreset = advancedBasePreset({
autoprefixer: {add: false},
discardComments: {removeAll: true},
/* cSpell:ignore zindex */
zindex: false,
...opts,
});