git commit -am "Pruned git history"
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / Rebuild Signaller (push) Successful in 21s
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / Rebuild Signaller (push) Successful in 21s
This commit is contained in:
commit
158918c0f5
201 changed files with 24558 additions and 0 deletions
27
svelte.config.js
Normal file
27
svelte.config.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import vitePreprocess from "./src/optimizers/viteThing.js";
|
||||
import adapter from "@sveltejs/adapter-static";
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
export default {
|
||||
preprocess: vitePreprocess(),
|
||||
onwarn: (warning, handler) => {
|
||||
if (warning.code.startsWith("a11y-")) return;
|
||||
if (warning.code === "missing-exports-condition") return;
|
||||
if (warning.code === "a11y-no-static-element-interactions") return;
|
||||
if (warning.code === "svelte-ignore a11y-autofocus") return;
|
||||
if (warning.code.startsWith("css-unused-selector")) return;
|
||||
handler(warning);
|
||||
},
|
||||
kit: {
|
||||
prerender: {
|
||||
handleHttpError: "fail",
|
||||
},
|
||||
adapter: adapter({
|
||||
pages: "build",
|
||||
assets: "build",
|
||||
fallback: undefined,
|
||||
precompress: false,
|
||||
strict: true,
|
||||
}),
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue