mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-09-28 15:48:22 +00:00
Remove unused styles and prevent postcss from purging relevant ones
This commit is contained in:
@@ -16,6 +16,7 @@ const prodPlugins =
|
||||
require("@fullhuman/postcss-purgecss")({
|
||||
content: [
|
||||
"./modules/webapp/src/main/elm/**/*.elm",
|
||||
"./modules/webapp/src/main/styles/keep.txt",
|
||||
"./modules/restserver/src/main/templates/*.html"
|
||||
],
|
||||
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/\.]+/g) || []
|
||||
|
Reference in New Issue
Block a user