Commit 4d3fe37a authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

Optimization less compile time

parent f4e8f45d
...@@ -21,8 +21,7 @@ const plugin = config => { ...@@ -21,8 +21,7 @@ const plugin = config => {
antDir: path.join(__dirname, '../node_modules/antd'), antDir: path.join(__dirname, '../node_modules/antd'),
stylesDir, stylesDir,
varFile: path.join(__dirname, '../node_modules/antd/lib/style/themes/default.less'), varFile: path.join(__dirname, '../node_modules/antd/lib/style/themes/default.less'),
mainLessFile: outFile, mainLessFile: outFile, // themeVariables: ['@primary-color'],
themeVariables: ['@primary-color'],
indexFileName: 'index.html', indexFileName: 'index.html',
}, },
]); ]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment