From 3b2f7bcc42048f3adb782439531f25dd83ba6ee0 Mon Sep 17 00:00:00 2001 From: constgen Date: Wed, 9 Aug 2017 14:03:35 +0300 Subject: [PATCH] Trim styles after all postcss plugins --- lib/style-compiler/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/style-compiler/index.js b/lib/style-compiler/index.js index a2c9bf354..9e7fcfdf0 100644 --- a/lib/style-compiler/index.js +++ b/lib/style-compiler/index.js @@ -26,7 +26,7 @@ module.exports = function (css, map) { } loadPostcssConfig(this, vueOptions.postcss).then(config => { - var plugins = [trim].concat(config.plugins) + var plugins = config.plugins.concat([trim]) var options = Object.assign({ to: this.resourcePath, from: this.resourcePath,