fix: solve the problem of @ant-design/colors dependency when using npm or cnpm; 🐛 #93

This commit is contained in:
chenghongxing 2020-07-29 09:19:42 +08:00
parent a5b571d2a0
commit a4764d880d

View File

@ -1,5 +1,5 @@
const varyColor = require('webpack-theme-color-replacer/client/varyColor') const varyColor = require('webpack-theme-color-replacer/client/varyColor')
const generate = require('@ant-design/colors/lib/generate').default const generate = require('@ant-design/colors').generate
const {ADMIN, ANTD} = require('../config/default') const {ADMIN, ANTD} = require('../config/default')
const Config = require('../config') const Config = require('../config')