Skip to content

Commit

Permalink
removed image min & test plugin from wepy config
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed Dec 5, 2016
1 parent db530b6 commit 49f4181
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions wepy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
};


if (prod || true) {
if (prod) {
// 压缩sass
module.exports['sass'] = {"outputStyle": "compressed"};

Expand All @@ -39,15 +39,6 @@ if (prod || true) {
warnings: false
}
}
},
'TestPlugin': {
filter: /\.wxss$/,
config: {
}
},
'ImageMinPlugin': {
filter: /\.(png|jpg|jpeg)$/,
config: {}
}
};
}

0 comments on commit 49f4181

Please sign in to comment.