# antd-pro-merge-less

> A webpack plugin for ant design pro less

Latest version **3.0.11** (published 2020-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install antd-pro-merge-less
pnpm add antd-pro-merge-less
yarn add antd-pro-merge-less
bun add antd-pro-merge-less
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.11 |
| Published | 2020-11-17 |
| First published | 2018-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 65.3 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 24 |
| Author | chenshuai2144 |
| Maintainers | chenshuai2144 |
| Keywords | merge, less |

## Links

- npm: https://www.npmjs.com/package/antd-pro-merge-less
- Repository: https://github.com/chenshuai2144/antd-pro-merge-less
- Homepage: https://github.com/chenshuai2144/antd-pro-merge-less#readme
- Issues: https://github.com/chenshuai2144/antd-pro-merge-less/issues
- npm.io page: https://npm.io/package/antd-pro-merge-less

## Dependencies (14)

- [glob](https://npm.io/package/glob.md) ^7.1.3
- [less](https://npm.io/package/less.md) ^3.10.3
- [rimraf](https://npm.io/package/rimraf.md) ^3.0.0
- [hash.js](https://npm.io/package/hash.js.md) ^1.1.7
- [postcss](https://npm.io/package/postcss.md) ^7.0.6
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.0
- [prettier](https://npm.io/package/prettier.md) ^1.15.3
- [uglifycss](https://npm.io/package/uglifycss.md) ^0.0.29
- [umi-utils](https://npm.io/package/umi-utils.md) ^1.6.0
- [postcss-less](https://npm.io/package/postcss-less.md) ^3.1.0
- [generic-names](https://npm.io/package/generic-names.md) ^2.0.1
- [lodash.uniqby](https://npm.io/package/lodash.uniqby.md) ^4.7.0
- [@ant-design/dark-theme](https://npm.io/package/@ant-design/dark-theme.md) ^2.0.2
- [css-selector-tokenizer](https://npm.io/package/css-selector-tokenizer.md) ^0.7.1

## Recent versions

- 3.0.11 (latest) — 2020-11-17
- 2.1.0-beta (next) — 2020-02-20
- 3.0.10 — 2020-05-26
- 3.0.9 — 2020-05-20
- 3.0.8 — 2020-05-12
- 3.0.7 — 2020-05-11
- 3.0.6 — 2020-05-05
- 3.0.5 — 2020-03-30
- 3.0.4 — 2020-03-24
- 3.0.3 — 2020-03-01
- 3.0.1 — 2020-03-01
- 3.0.0 — 2020-03-01
- 2.0.28 — 2019-12-31
- 2.0.27 — 2019-12-30
- 2.0.26 — 2019-12-25
- … 37 more at https://npm.io/package/antd-pro-merge-less/versions

## README

## antd-pro-merge-less

使用方式：

```js
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 的依赖,用于打包 antd 自己的依赖
    ignoreAntd: true,
    // 忽略 pro-layout 的依赖
    ignoreProLayout: true,
    // 不使用缓存
    cache: false,
    filterFileLess: filename => boolean,
    extraLibraries: []
  },
);
```

---
_Source: https://npm.io/package/antd-pro-merge-less · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
