Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herghost000/antd-self-merge-less
A webpack plugin for ant design pro less
https://github.com/herghost000/antd-self-merge-less
Last synced: about 1 month ago
JSON representation
A webpack plugin for ant design pro less
- Host: GitHub
- URL: https://github.com/herghost000/antd-self-merge-less
- Owner: herghost000
- Created: 2019-06-04T02:46:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T06:03:31.000Z (almost 2 years ago)
- Last Synced: 2024-10-03T18:34:23.429Z (about 1 month ago)
- Language: CSS
- Size: 39.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## antd-pro-merge-less
使用方式:
```
// 将所有 less 合并为一个供 themePlugin使用
const outFile = path.join(__dirname, './.temp/ant-design-pro.less');
const stylesDir = path.join(__dirname, './src/');const mergeLessPlugin = new MergeLessPlugin({
stylesDir,
outFile,
});
```