From b5da09d191a117d87b02678a3666fd68bc4a2f37 Mon Sep 17 00:00:00 2001 From: smallchill Date: Fri, 4 Jan 2019 12:04:57 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8Dmac=20os=E4=B8=8B?= =?UTF-8?q?=E7=9A=84=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/plugin.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/plugin.config.js b/config/plugin.config.js index b9e842d..44ded31 100644 --- a/config/plugin.config.js +++ b/config/plugin.config.js @@ -1,6 +1,6 @@ // Change theme plugin -import MergeLessPlugin from 'antd-pro-merge-less'; +// import MergeLessPlugin from 'antd-pro-merge-less'; import AntDesignThemePlugin from 'antd-theme-webpack-plugin'; import path from 'path'; @@ -11,12 +11,13 @@ export default config => { const outFile = path.join(__dirname, '../.temp/ant-design-pro.less'); const stylesDir = path.join(__dirname, '../src/'); - config.plugin('merge-less').use(MergeLessPlugin, [ + // mac os下有bug, 暂时先注释掉 + /*config.plugin('merge-less').use(MergeLessPlugin, [ { stylesDir, outFile, }, - ]); + ]);*/ config.plugin('ant-design-theme').use(AntDesignThemePlugin, [ {