Browse Source

chore: add dist-tag v4

pull/38991/head
MadCcc 2 years ago
parent
commit
1643cb72b3
  1. 3
      .antd-tools.config.js

3
.antd-tools.config.js

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

Loading…
Cancel
Save