🐛 修复bug
This commit is contained in:
parent
b5da09d191
commit
5aa853cc15
|
|
@ -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, [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user