# dahlia-webpack-antd

> dahlia webpack antd plugin

Latest version **1.1.7** (published 2019-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install dahlia-webpack-antd
pnpm add dahlia-webpack-antd
yarn add dahlia-webpack-antd
bun add dahlia-webpack-antd
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.7 |
| Published | 2019-02-13 |
| First published | 2019-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | forsigner |
| Maintainers | forsigner |

## Links

- npm: https://www.npmjs.com/package/dahlia-webpack-antd
- Repository: https://github.com/forsigner/dahlia-webpack-override
- Homepage: https://github.com/forsigner/dahlia-webpack-override/blob/master/packages/dahlia-webpack-antd/README.md
- Issues: https://github.com/forsigner/dahlia-webpack-override/issues
- npm.io page: https://npm.io/package/dahlia-webpack-antd

## Dependencies (2)

- [customize-cra](https://npm.io/package/customize-cra.md) ^0.2.11
- [babel-plugin-import](https://npm.io/package/babel-plugin-import.md) ^1.11.0

## Recent versions

- 1.1.7 (latest) — 2019-02-13
- 1.1.6 — 2019-02-13
- 1.1.5 — 2019-02-01
- 1.1.4 — 2019-02-01
- 1.1.3 — 2019-02-01
- 1.1.2 — 2019-02-01
- 1.1.1 — 2019-02-01
- 1.1.0 — 2019-02-01
- 1.0.0 — 2019-02-01

## README

# dahlia-webpack-antd

## Installation

```sh
yarn add dahlia-webpack-override dahlia-webpack-antd
```

## Usage

```js
const override = require('dahlia-webpack-override')
const antd = require('dahlia-webpack-antd')

module.exports = {
  webpack(config, env) {
    return override(config, env).pipe(antd())
  },
}
```

## Customize Ant Design Theme

to modify the default Ant Design theme:

```js
const override = require('dahlia-webpack-override')
const antd = require('dahlia-webpack-antd')
const less = require('dahlia-webpack-less')

module.exports = {
  webpack(config, env) {
    const newConfig = override(config, env).pipe(
      less({
        modifyVars: {
          'primary-color': 'black',
          'link-color': '#1DA57A',
          'border-radius-base': '10px',
        },
        javascriptEnabled: true,
      }),
      antd({
        style: true,
      }),
    )

    return newConfig
  },
}
```

## License

[MIT License](https://github.com/forsigner/dahlia-webpack-override/blob/master/LICENSE)

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