fix: stripPrefix less vars false

This commit is contained in:
ycjcl868 2019-12-05 13:51:47 +08:00
parent 89e8d01310
commit 9b9de756ca

View File

@ -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,
});