mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
fix(webpack): detect postcss config and show warning (#1805)
This commit is contained in:
parent
6ec518ff24
commit
256d9b1424
@ -122,7 +122,7 @@ export class PostcssConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getConfigFile () {
|
getConfigFile () {
|
||||||
const loaderConfig = (this.postcssOptions && this.postcssOptions.config) || {}
|
const loaderConfig = this.postcssOptions && this.postcssOptions.config
|
||||||
const postcssConfigFile = loaderConfig || this.searchConfigFile()
|
const postcssConfigFile = loaderConfig || this.searchConfigFile()
|
||||||
|
|
||||||
if (typeof postcssConfigFile === 'string') {
|
if (typeof postcssConfigFile === 'string') {
|
||||||
|
Loading…
Reference in New Issue
Block a user