mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
refactor: use default preset for cssnano
This commit is contained in:
parent
dbbcac1f4f
commit
854e53911d
@ -47,7 +47,7 @@ export default class PostcssConfig {
|
||||
// https://cssdb.org/#staging-process
|
||||
stage: 2
|
||||
},
|
||||
'cssnano': !this.dev
|
||||
'cssnano': this.dev ? false : { preset: 'default' }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user