refactor: use default preset for cssnano

This commit is contained in:
Clark Du 2018-08-06 18:15:26 +01:00
parent dbbcac1f4f
commit 854e53911d

View File

@ -47,7 +47,7 @@ export default class PostcssConfig {
// https://cssdb.org/#staging-process
stage: 2
},
'cssnano': !this.dev
'cssnano': this.dev ? false : { preset: 'default' }
}
}
}