addyosmani / addyosmani/critical
Please provide documentation for --ignore for cli
Aberta
- Linguagem predominante
- JavaScript
- Estrelas
- 10.3k
- Forks
- 390
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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,
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.