# antd-merge-less **Repository Path**: liweisum/antd-merge-less ## Basic Information - **Project Name**: antd-merge-less - **Description**: 合并less - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-06-29 - **Last Updated**: 2022-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## antd-merge-less 使用方式: ```js const genCss = require('antd-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 的依赖,用于打包 antd 自己的依赖 ignoreAntd: true, // 忽略 pro-layout 的依赖 ignoreProLayout: true, // 不使用缓存 cache: false, filterFileLess: filename => boolean, extraLibraries: [] }, ); ```