We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f15dcf7 commit d5b5e3bCopy full SHA for d5b5e3b
packages/@vue/cli-service/lib/config/css.js
@@ -46,7 +46,7 @@ module.exports = (api, options) => {
46
// check if the project has a valid postcss config
47
// if it doesn't, don't use postcss-loader for direct style imports
48
// because otherwise it would throw error when attempting to load postcss config
49
- const hasPostCSSConfig = !!(api.service.pkg.postcss || findExisting(api.resolve('.'), [
+ const hasPostCSSConfig = !!(loaderOptions.postcss || api.service.pkg.postcss || findExisting(api.resolve('.'), [
50
'.postcssrc',
51
'.postcssrc.js',
52
'postcss.config.js',
0 commit comments