Skip to content

Commit

Permalink
Fix purgecss
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Apr 9, 2020
1 parent dffc474 commit dff4dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if (!IS_DEVELOPMENT) {

plugins.push(
purgecss({
content: [__dirname + '/tmp/*.html', __dirname + '/tmp/user-guide/*.html', __dirname + '/tmp/developing-extensions/*.html'],
content: [__dirname + '/tmp/*.html', __dirname + '/tmp/user-guide/*.html', __dirname + '/tmp/developing-extensions/*.html', __dirname + '/tmp/blog.html', __dirname + '/tmp/blog/*.html'],
defaultExtractor: content => content.match(/[\w-/.:]+(?<!:)/g) || [],
whitelistPatterns: [/algolia/, /searchbox/],
})
Expand Down

0 comments on commit dff4dbd

Please sign in to comment.