chore: ignore errors when CSS files don't need compression
This commit is contained in:
parent
f817e930ec
commit
442cb8fe97
|
@ -53,11 +53,15 @@ export default defineConfig({
|
||||||
"fa6-solid": ["*"],
|
"fa6-solid": ["*"],
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
Compress({
|
|
||||||
Image: false,
|
|
||||||
}),
|
|
||||||
svelte(),
|
svelte(),
|
||||||
sitemap(),
|
sitemap(),
|
||||||
|
Compress({
|
||||||
|
CSS: false,
|
||||||
|
Image: false,
|
||||||
|
Action: {
|
||||||
|
Passed: async () => true, // https://github.com/PlayForm/Compress/issues/376
|
||||||
|
},
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
markdown: {
|
markdown: {
|
||||||
remarkPlugins: [remarkMath, remarkReadingTime, remarkGithubAdmonitionsToDirectives, remarkDirective, parseDirectiveNode],
|
remarkPlugins: [remarkMath, remarkReadingTime, remarkGithubAdmonitionsToDirectives, remarkDirective, parseDirectiveNode],
|
||||||
|
|
Loading…
Reference in New Issue