diff --git a/wepy.config.js b/wepy.config.js index 02a0300..7602d4e 100644 --- a/wepy.config.js +++ b/wepy.config.js @@ -23,7 +23,7 @@ module.exports = { }; -if (prod || true) { +if (prod) { // 压缩sass module.exports['sass'] = {"outputStyle": "compressed"}; @@ -39,15 +39,6 @@ if (prod || true) { warnings: false } } - }, - 'TestPlugin': { - filter: /\.wxss$/, - config: { - } - }, - 'ImageMinPlugin': { - filter: /\.(png|jpg|jpeg)$/, - config: {} } }; } \ No newline at end of file