Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = function override(config, env) {
config = injectBabelPlugin(
['import', { libraryName: 'antd', style: true }],
config
);
config = rewireLess.withLoaderOptions({
modifyVars: getLessVars(path.join(__dirname, './src/styles/vars.less')),
javascriptEnabled: true
})(config, env);
return config;
};