Skip to content

Commit 5894af9

Browse files
committed
chore: update README with leaveCSSFile
1 parent 5a5b740 commit 5894af9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ module.exports = {
5353
```typescript
5454
interface Config {
5555
filter?(fileName: string): boolean
56+
leaveCSSFile?: boolean
5657
replace?: {
5758
target: string
5859
position?: 'before' | 'after'
5960
removeTarget?: boolean
60-
leaveCssFile?: boolean
6161
}
6262
}
6363
```
@@ -78,13 +78,15 @@ Return `true` to make current file internal, otherwise ignore current file.
7878
...
7979
```
8080
81+
### leaveCSSFile(optional)
82+
if `true`, it will leave CSS files where they are when inlining
83+
8184
### replace(optional)
8285
```typescript
8386
replace?: {
8487
target: string
8588
position?: 'before' | 'after' // default is 'before'
8689
removeTarget?: boolean // default is false
87-
leaveCssFile?: boolean // default is false
8890
}
8991
```
9092
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
9496
Add internal style sheet `before`/`after` the `target`
9597
#### removeTarget(optional)
9698
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
9999
100100
##### example
101101
```html

0 commit comments

Comments
 (0)