addyosmani / addyosmani/critical
Please provide documentation for --ignore for cli
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 10.3k
- Fork
- 390
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
How to translate:
```
// ignore CSS rules
ignore: {
atrule: ['@font-face'],
rule: [/some-regexp/],
decl: (node, value) => /big-image\.png/.test(value),
},
```
when using cli.
By the way, `--dimensions W1xH1,W2xH2` didn't work for me while stated in #457:
```
Error: ConfigError: "dimensions" must be an array
```
Hopefully: `--dimensions W1xH1 --dimensions W2xH2` did. Good to know we can use this option multiple times.
Best regards,
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.