diff --git a/.antd-tools.config.js b/.antd-tools.config.js index dc503af419..bb726dbb4b 100644 --- a/.antd-tools.config.js +++ b/.antd-tools.config.js @@ -77,6 +77,7 @@ function finalizeDist() { const darkLess = fs.readFileSync(path.join(stylePath, 'themes', 'dark.less'), 'utf8'); const darkPaletteLess = lessToJs(`${colorLess}${defaultLess}${darkLess}`, { + stripPrefix: true, resolveVariables: false, });