We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7b0b9 commit e27a5ceCopy full SHA for e27a5ce
lib/style-compiler/load-postcss-config.js
@@ -7,6 +7,13 @@ function isObject (val) {
7
}
8
9
module.exports = function loadPostcssConfig (loaderContext, inlineConfig = {}) {
10
+ if (inlineConfig.useConfigFile === false) {
11
+ return Promise.resolve({
12
+ plugins: inlineConfig.plugins || [],
13
+ options: inlineConfig.options || {}
14
+ })
15
+ }
16
+
17
if (process.env.VUE_LOADER_TEST || !loaded) {
18
const config = inlineConfig.config || {}
19
const ctx = { webpack: loaderContext }
0 commit comments