Files
meeting-room/frontend/node_modules/postcss-discard-duplicates/README.md
flying-hero 96f6318101 📦 添加虚拟环境和启动脚本
新增:
- backend/venv/ - Python 虚拟环境
- backend/start.sh - 启动脚本(使用虚拟环境)
- backend/requirements.txt - 依赖列表
- .gitignore - 忽略虚拟环境和缓存文件

说明:
- 每个项目使用独立虚拟环境
- 避免依赖冲突
- 启动脚本自动创建和激活虚拟环境
2026-04-04 18:29:02 +08:00

71 lines
1.2 KiB
Markdown

# [postcss][postcss]-discard-duplicates
> Discard duplicate rules in your CSS files with PostCSS.
## Install
With [npm](https://npmjs.org/package/postcss-discard-duplicates) do:
```
npm install postcss-discard-duplicates --save
```
## Example
This module will remove all duplicate rules from your stylesheets. It works on
at rules, normal rules and declarations. Note that this module does not have any
responsibility for normalising declarations, selectors or whitespace, so that it
considers these two rules to be different:
```css
h1, h2 {
color: blue;
}
h2, h1 {
color: blue;
}
```
It has to assume that your rules have already been transformed by another
processor, otherwise it would be responsible for too many things.
### Input
```css
h1 {
margin: 0 auto;
margin: 0 auto
}
h1 {
margin: 0 auto
}
```
### Output
```css
h1 {
margin: 0 auto
}
```
## Usage
See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
examples for your environment.
## Contributors
See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
## License
MIT © [Ben Briggs](http://beneb.info)
[postcss]: https://github.com/postcss/postcss