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