Merge pull request #4289 from hzsrc/master
高性能方案实现ant-design在运行时动态改变主题色(利用webpack-theme-color-replacer)
Showing
... | @@ -92,7 +92,7 @@ | ... | @@ -92,7 +92,7 @@ |
"@types/react-document-title": "^2.0.3", | "@types/react-document-title": "^2.0.3", | ||
"@types/react-dom": "^16.8.4", | "@types/react-dom": "^16.8.4", | ||
"antd-pro-merge-less": "^1.0.0", | "antd-pro-merge-less": "^1.0.0", | ||
"antd-theme-webpack-plugin": "^1.2.0", | "@ant-design/colors": "^3.1.0", | ||
"babel-eslint": "^10.0.1", | "babel-eslint": "^10.0.1", | ||
"chalk": "^2.4.2", | "chalk": "^2.4.2", | ||
"check-prettier": "^1.0.3", | "check-prettier": "^1.0.3", | ||
... | @@ -131,7 +131,8 @@ | ... | @@ -131,7 +131,8 @@ |
"tslint": "^5.17.0", | "tslint": "^5.17.0", | ||
"tslint-config-prettier": "^1.18.0", | "tslint-config-prettier": "^1.18.0", | ||
"tslint-eslint-rules": "^5.4.0", | "tslint-eslint-rules": "^5.4.0", | ||
"tslint-react": "^4.0.0" | "tslint-react": "^4.0.0", | ||
"webpack-theme-color-replacer": "^1.1.5" | |||
}, | }, | ||
"optionalDependencies": { | "optionalDependencies": { | ||
"puppeteer": "^1.17.0" | "puppeteer": "^1.17.0" | ||
... | ... |
Please register or sign in to comment