Safelist pre and code blocks

This commit is contained in:
Niek van der Maas 2023-03-06 09:23:06 +01:00
parent 2a725adfa5
commit a9de117fc6
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ export default defineConfig(({ command, mode, ssrBuild }) => {
plugins: [
purgecss({
content: ["./**/*.html", "./**/*.svelte"],
safelist: ["pre", "code"],
}),
],
},