antd-pro-private-merge-less
v1.0.0
Published
A webpack plugin for ant design pro less
Downloads
5
Readme
antd-pro-merge-less
使用方式:
const genCss = require('antd-pro-merge-less');
genCss(
'C:/GitHub/ant-design',
[
{
theme: 'dark',
fileName: './.temp/dark.css',
},
{
fileName: './.temp/mingQing.css',
modifyVars: {
'@primary-color': '#13C2C2',
},
},
],
{
// 是否压缩css
min: false,
// css module
isModule: false,
// 忽略 antd 的依赖
ignoreAntd: true,
// 忽略 pro-layout
ignoreProLayout: true,
// 不使用缓存
cache: false,
},
);