mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
debug: Show PostCSS config only when used
This commit is contained in:
parent
3d49d8d290
commit
f5fa44d8aa
@ -109,7 +109,9 @@ Options.from = function (_options) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
debug('Using PostCSS config from `build.postcss`')
|
if (Object.keys(options.build.postcss).length) {
|
||||||
|
debug('Using PostCSS config from `build.postcss`')
|
||||||
|
}
|
||||||
// Normalize & Apply default plugins
|
// Normalize & Apply default plugins
|
||||||
if (Array.isArray(options.build.postcss)) {
|
if (Array.isArray(options.build.postcss)) {
|
||||||
options.build.postcss = { plugins: options.build.postcss }
|
options.build.postcss = { plugins: options.build.postcss }
|
||||||
|
Loading…
Reference in New Issue
Block a user