🐛 修复bug

This commit is contained in:
smallchill 2019-01-04 12:11:37 +08:00
parent b5da09d191
commit 5aa853cc15
2 changed files with 3 additions and 5 deletions

View File

@ -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,13 +11,12 @@ export default config => {
const outFile = path.join(__dirname, '../.temp/ant-design-pro.less');
const stylesDir = path.join(__dirname, '../src/');
// mac os下有bug, 暂时先注释掉
/*config.plugin('merge-less').use(MergeLessPlugin, [
config.plugin('merge-less').use(MergeLessPlugin, [
{
stylesDir,
outFile,
},
]);*/
]);
config.plugin('ant-design-theme').use(AntDesignThemePlugin, [
{

View File

@ -44,7 +44,6 @@
"lodash-decorators": "^6.0.0",
"memoize-one": "^5.0.0",
"moment": "^2.22.2",
"npm": "^6.5.0",
"numeral": "^2.0.6",
"nzh": "^1.0.3",
"omit.js": "^1.0.0",