aboutsummaryrefslogtreecommitdiffstats
path: root/svelte.config.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-06 20:33:45 -0800
committerAdam Soltys <[email protected]>2023-12-06 20:33:45 -0800
commit6b3ff247e4125941a611369ed9bb74a2ffca57d8 (patch)
tree91da939350398188834e5e002bc78011a2a8e5bf /svelte.config.js
parentbb59ac3e4e7fcbf7f8a48820eab0ee21558183fc (diff)
parentd69c34cf389639eac82d24d1f1b02f038ef42399 (diff)
downloadcoinos-ui-6b3ff247e4125941a611369ed9bb74a2ffca57d8.tar.gz
coinos-ui-6b3ff247e4125941a611369ed9bb74a2ffca57d8.zip
Merge branch 'master' into swapee
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;