mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 07:12:37 +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 () {
|
||||
const loaderConfig = (this.postcssOptions && this.postcssOptions.config) || {}
|
||||
const loaderConfig = this.postcssOptions && this.postcssOptions.config
|
||||
const postcssConfigFile = loaderConfig || this.searchConfigFile()
|
||||
|
||||
if (typeof postcssConfigFile === 'string') {
|
||||
|
Loading…
Reference in New Issue
Block a user