diff --git a/config/plugin.config.js b/config/plugin.config.js index 27879fdd25927da27fd88ffcfa0bc424e85aa5f9..ed25dd95bbf9f262b926f0560d4d881e061869c6 100644 --- a/config/plugin.config.js +++ b/config/plugin.config.js @@ -21,8 +21,7 @@ const plugin = config => { antDir: path.join(__dirname, '../node_modules/antd'), stylesDir, varFile: path.join(__dirname, '../node_modules/antd/lib/style/themes/default.less'), - mainLessFile: outFile, - themeVariables: ['@primary-color'], + mainLessFile: outFile, // themeVariables: ['@primary-color'], indexFileName: 'index.html', }, ]); diff --git a/package.json b/package.json index fbb7a4e31d17406a7b8db46563e1d81a0acb067d..78e1bcea52450410bfb6c9df78a829ca558a1924 100755 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "@babel/polyfill": "^7.0.0-beta.53", "@types/react": "^16.4.11", "@types/react-dom": "^16.0.6", - "antd-pro-merge-less": "^0.0.3", + "antd-pro-merge-less": "^0.0.6", "antd-theme-webpack-plugin": "^1.0.8", "babel-eslint": "^8.2.6", "babel-runtime": "^6.9.2",