mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
Disabled html min as it runs after precompress
This commit is contained in:
@@ -16,21 +16,22 @@ const config = {
|
|||||||
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
||||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||||
adapter:
|
adapter:
|
||||||
htmlMinifierAdaptor(
|
// Disabled html min as it runs after precompress
|
||||||
|
// htmlMinifierAdaptor(
|
||||||
adapter(),
|
adapter(),
|
||||||
{
|
// {
|
||||||
pages: "build/prerendered/",
|
// pages: "build/prerendered/",
|
||||||
minifierOptions: {
|
// minifierOptions: {
|
||||||
minifyURLs: true,
|
// minifyURLs: true,
|
||||||
|
|
||||||
// Because of CSP hashing
|
// // Because of CSP hashing
|
||||||
minifyJS: false, // We can pass a function here
|
// minifyJS: false, // We can pass a function here
|
||||||
collapseWhitespace: false,
|
// collapseWhitespace: false,
|
||||||
sortAttributes: true,
|
// sortAttributes: true,
|
||||||
sortClassName: true,
|
// sortClassName: true,
|
||||||
removeRedundantAttributes: true
|
// removeRedundantAttributes: true
|
||||||
}
|
// }
|
||||||
}),
|
// }),
|
||||||
csp: {
|
csp: {
|
||||||
mode: "auto",
|
mode: "auto",
|
||||||
directives: cspDirectives,
|
directives: cspDirectives,
|
||||||
|
|||||||
Reference in New Issue
Block a user