File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
// @flow
2
- import type { ExtractorsObj , Options } from './../flow/index.js'
2
+ import { type ExtractorsObj , type Options } from './../flow/index.js'
3
3
4
4
import fs from 'fs'
5
5
import path from 'path'
@@ -29,17 +29,15 @@ import DefaultExtractor from './Extractors/DefaultExtractor'
29
29
30
30
class Purgecss {
31
31
options : Options
32
- selectors : Set < string >
33
32
34
33
constructor ( options : Options | string ) {
35
34
if ( typeof options === 'string' || typeof options === 'undefined' )
36
35
options = this . loadConfigFile ( options )
37
36
this . checkOptions ( options )
38
37
this . options = Object . assign ( defaultOptions , options )
39
- this . selectors = new Set ( )
40
38
}
41
39
42
- loadConfigFile ( configFile ? : string ) {
40
+ loadConfigFile ( configFile : string ) {
43
41
const pathConfig = typeof configFile === 'undefined' ? CONFIG_FILENAME : configFile
44
42
let options
45
43
try {
You can’t perform that action at this time.
0 commit comments