Skip to content

Commit

Permalink
fix(tools/autoprefixer): fix wrong removal of cssnano when autoprefix…
Browse files Browse the repository at this point in the history
…er is disabled (#942)
  • Loading branch information
ThomasRumasLM committed Nov 10, 2021
1 parent 0be764c commit 5105327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/css-dev-tools/postcssPluginConfig.js
Expand Up @@ -72,7 +72,7 @@ const productionPlugins = [
]

if (CM.getKey('autoprefixer.disabled')) {
productionPlugins.pop()
productionPlugins.splice(4,1);
}

if(CM.getKey('purgecss')) {
Expand Down

0 comments on commit 5105327

Please sign in to comment.