varFile:path.join(__dirname,'./node_modules/antd/lib/style/themes/default.less'),mainLessFile:path.join(__dirname,'./src/index.less'),themeVariables:['@primary-color'],indexFileName:'index.html',};constthemePlugin=newAntDesignThemePlugin(options);// in config objectwebpackConfig.plugins.push(themePlugin);returnwebpackConfig;};