File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ module.exports = {
5353``` typescript
5454interface 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
8386replace ?: {
8487 target: string
8588 position? : ' before' | ' after' // default is 'before'
8689 removeTarget? : boolean // default is false
87- leaveCssFile? : boolean // default is false
8890}
8991` ` `
9092A 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
9496Add internal style sheet ` before ` / ` after ` the ` target `
9597#### removeTarget(optional)
9698if ` 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
You can’t perform that action at this time.
0 commit comments