File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ module.exports = {
53
53
``` typescript
54
54
interface Config {
55
55
filter? (fileName : string ): boolean
56
+ leaveCSSFile? : boolean
56
57
replace? : {
57
58
target: string
58
59
position? : ' before' | ' after'
59
60
removeTarget? : boolean
60
- leaveCssFile? : boolean
61
61
}
62
62
}
63
63
```
@@ -78,13 +78,15 @@ Return `true` to make current file internal, otherwise ignore current file.
78
78
...
79
79
` ` `
80
80
81
+ ### leaveCSSFile(optional)
82
+ if ` true ` , it will leave CSS files where they are when inlining
83
+
81
84
### replace(optional)
82
85
` ` ` typescript
83
86
replace ?: {
84
87
target: string
85
88
position? : ' before' | ' after' // default is 'before'
86
89
removeTarget? : boolean // default is false
87
- leaveCssFile? : boolean // default is false
88
90
}
89
91
` ` `
90
92
A config for customizing the location of injection, default will add internal style sheet before the ` </head >`
@@ -94,8 +96,6 @@ A target for adding the internal style sheet
94
96
Add internal style sheet ` before ` / ` after ` the ` target `
95
97
#### removeTarget(optional)
96
98
if ` true ` , it will remove the ` target ` from the output HTML
97
- #### leaveCssFile(optional)
98
- if ` true ` , it will leave CSS files where they are when inlining
99
99
100
100
##### example
101
101
` ` ` html
You can’t perform that action at this time.
0 commit comments