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

master
chenghongxing 4 years ago
parent a5b571d2a0
commit a4764d880d
  1. 2
      src/utils/colors.js

@ -1,5 +1,5 @@
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 Config = require('../config')

Loading…
Cancel
Save