Prevent hljs classes from being stripped
This commit is contained in:
parent
155ceb89c4
commit
e9237508a2
|
@ -16,7 +16,9 @@ mix.disableNotifications()
|
||||||
.purgeCss({
|
.purgeCss({
|
||||||
globs: [
|
globs: [
|
||||||
path.join(__dirname, 'output_*/**/*.html'),
|
path.join(__dirname, 'output_*/**/*.html'),
|
||||||
]
|
],
|
||||||
|
whitelistPatterns: [/language/, /hljs/],
|
||||||
|
whitelistPatternsChildren: [/^markdown$/]
|
||||||
})
|
})
|
||||||
.options({
|
.options({
|
||||||
processCssUrls: false
|
processCssUrls: false
|
||||||
|
|
Loading…
Reference in a new issue