Skip to content

Commit 0adc71a

Browse files
committed
docs: updated documentation
1 parent 9e321cf commit 0adc71a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ___
113113
'link[rel="preload"][as="script"]',
114114
'script:not([type="application/ld+json"])',
115115
],
116-
classesToKeep: null, // disallow pruning of scripts with this class (could be an array of classes), N.B.: each `classesToKeep` will be appended to every `selectors`, ex.: `script:not([type="application/ld+json"]):not(__classesToKeep__)`
116+
classesSelectorsToKeep: [], // disallow pruning of scripts with this class (could be an array of classes), N.B.: each `classesToKeep` will be appended to every `selectors`, ex.: `script:not([type="application/ld+json"]):not(__classesToKeep__)`
117117
link: [], // Inject custom links, only if pruned
118118
script: [], // Inject custom scripts, only if pruned
119119
htmlElementClass: null, // this is a string added as a class to the <html> element

0 commit comments

Comments
 (0)