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 1bce36b commit 990ce9bCopy full SHA for 990ce9b
lib/style-compiler/index.js
@@ -26,13 +26,13 @@ module.exports = function (css, map) {
26
}
27
28
// use the same config loading interface as postcss-loader
29
- loadPostcssConfig(vueOptions.postcss).then(({ plugins, options }) => {
30
- plugins = [trim].concat(plugins)
31
- options = Object.assign({
+ loadPostcssConfig(vueOptions.postcss).then(config => {
+ var plugins = [trim].concat(config.plugins)
+ var options = Object.assign({
32
to: this.resourcePath,
33
from: this.resourcePath,
34
map: false
35
- }, options)
+ }, config.options)
36
37
// add plugin for vue-loader scoped css rewrite
38
if (query.scoped) {
0 commit comments