diff --git a/.antd-tools.config.js b/.antd-tools.config.js index 7a5bec3673..09e2f47b0e 100644 --- a/.antd-tools.config.js +++ b/.antd-tools.config.js @@ -20,7 +20,7 @@ function finalizeCompile() { let componentsLessContent = ''; // Build components in one file: lib/style/components.less fs.readdir(componentsPath, (err, files) => { - files.forEach(file => { + files.forEach((file) => { if (fs.existsSync(path.join(componentsPath, file, 'style', 'index.less'))) { componentsLessContent += `@import "../${path.posix.join( file, @@ -192,4 +192,5 @@ module.exports = { }, generateThemeFileContent, bail: true, + tag: 'v4', };