Browse Source

fix: stripPrefix less vars false

pull/20095/head
ycjcl868 5 years ago
parent
commit
9b9de756ca
  1. 1
      .antd-tools.config.js

1
.antd-tools.config.js

@ -77,6 +77,7 @@ function finalizeDist() {
const darkLess = fs.readFileSync(path.join(stylePath, 'themes', 'dark.less'), 'utf8'); const darkLess = fs.readFileSync(path.join(stylePath, 'themes', 'dark.less'), 'utf8');
const darkPaletteLess = lessToJs(`${colorLess}${defaultLess}${darkLess}`, { const darkPaletteLess = lessToJs(`${colorLess}${defaultLess}${darkLess}`, {
stripPrefix: true,
resolveVariables: false, resolveVariables: false,
}); });

Loading…
Cancel
Save