Prevent hljs classes from being stripped

This commit is contained in:
Oliver Davies 2018-06-05 07:05:33 +01:00
parent 155ceb89c4
commit e9237508a2

View file

@ -16,7 +16,9 @@ mix.disableNotifications()
.purgeCss({
globs: [
path.join(__dirname, 'output_*/**/*.html'),
]
],
whitelistPatterns: [/language/, /hljs/],
whitelistPatternsChildren: [/^markdown$/]
})
.options({
processCssUrls: false