diff options
| author | Adam Soltys <[email protected]> | 2023-12-06 20:33:45 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-06 20:33:45 -0800 |
| commit | 6b3ff247e4125941a611369ed9bb74a2ffca57d8 (patch) | |
| tree | 91da939350398188834e5e002bc78011a2a8e5bf /svelte.config.js | |
| parent | bb59ac3e4e7fcbf7f8a48820eab0ee21558183fc (diff) | |
| parent | d69c34cf389639eac82d24d1f1b02f038ef42399 (diff) | |
| download | coinos-ui-6b3ff247e4125941a611369ed9bb74a2ffca57d8.tar.gz coinos-ui-6b3ff247e4125941a611369ed9bb74a2ffca57d8.zip | |
Merge branch 'master' into swapee
Diffstat (limited to 'svelte.config.js')
| -rw-r--r-- | svelte.config.js | 40 |
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; |
