aboutsummaryrefslogtreecommitdiffstats
path: root/svelte.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js40
1 files changed, 23 insertions, 17 deletions
diff --git a/svelte.config.js b/svelte.config.js
index 85618815..bc89e810 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,22 +1,28 @@
-import adapter from '@sveltejs/adapter-node';
-import preprocess from 'svelte-preprocess';
+// import adapter from '@sveltejs/adapter-node';
+import adapter from "svelte-adapter-bun";
+import preprocess from "svelte-preprocess";
const config = {
- preprocess: [
- preprocess({
- postcss: true
- })
- ],
- kit: {
- adapter: adapter(),
- csrf: {
- checkOrigin: false
- }
- },
- onwarn: (warning, handler) => {
- if (warning.code.includes('caption') || warning.filename.includes('Toast')) return;
- handler(warning);
- }
+ preprocess: [
+ preprocess({
+ postcss: true,
+ }),
+ ],
+ kit: {
+ adapter: adapter(),
+ csrf: {
+ checkOrigin: false,
+ },
+ prerender: {
+ crawl: false,
+ entries: [],
+ },
+ },
+ onwarn: (warning, handler) => {
+ if (warning.code.includes("caption") || warning.filename.includes("Toast"))
+ return;
+ handler(warning);
+ },
};
export default config;