Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 60d7dcd

Browse files
constgenyyx990803
authored andcommittedOct 11, 2017
Trim styles after all postcss plugins (#939)
1 parent 69fd7b0 commit 60d7dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/style-compiler/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = function (css, map) {
2727

2828
loadPostcssConfig(this, vueOptions.postcss)
2929
.then(config => {
30-
const plugins = [trim].concat(config.plugins)
30+
const plugins = config.plugins.concat(trim)
3131
const options = Object.assign(
3232
{
3333
to: this.resourcePath,

0 commit comments

Comments
 (0)
Please sign in to comment.