From 9b9de756ca7c4f3acf279a0a5957337df760a587 Mon Sep 17 00:00:00 2001 From: ycjcl868 <45808948@qq.com> Date: Thu, 5 Dec 2019 13:51:47 +0800 Subject: [PATCH] fix: stripPrefix less vars false --- .antd-tools.config.js | 1 + 1 file changed, 1 insertion(+) 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, });