configworker/web/config-overrides.js

14 lines
318 B
JavaScript
Raw Normal View History

2019-12-31 09:45:23 +00:00
const { override, fixBabelImports, addLessLoader } = require('customize-cra');
module.exports = override(
fixBabelImports('import', {
libraryName: 'antd',
libraryDirectory: 'es',
style: true,
}),
addLessLoader({
javascriptEnabled: true,
modifyVars: { '@primary-color': '#25b864' },
}),
);