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, [ {