• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FullHuman / purgecss / 11981163739

22 Nov 2024 10:31PM CUT coverage: 91.081%. Remained the same
11981163739

push

github

Ffloriel
docs: add breaking changes for v7 about named export for postcss plugin

351 of 420 branches covered (83.57%)

Branch coverage included in aggregate %.

517 of 533 relevant lines covered (97.0%)

5427.67 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/packages/purgecss/src/options.ts
1
import { ExtractorResult, Options } from "./types/";
2

3
/**
4
 * @public
5
 */
6
export const defaultOptions: Options = {
22✔
7
  css: [],
8
  content: [],
9
  defaultExtractor: (content: string): ExtractorResult =>
10
    content.match(/[A-Za-z0-9_-]+/g) || [],
50!
11
  extractors: [],
12
  fontFace: false,
13
  keyframes: false,
14
  rejected: false,
15
  rejectedCss: false,
16
  sourceMap: false,
17
  stdin: false,
18
  stdout: false,
19
  variables: false,
20
  safelist: {
21
    standard: [],
22
    deep: [],
23
    greedy: [],
24
    variables: [],
25
    keyframes: [],
26
  },
27
  blocklist: [],
28
  skippedContentGlobs: [],
29
  dynamicAttributes: [],
30
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc