aboutsummaryrefslogtreecommitdiffstats
path: root/svelte.config.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-01 20:04:13 -0800
committerAdam Soltys <[email protected]>2023-12-01 20:04:13 -0800
commit216a600224fde22ce76b367557a02094ec693886 (patch)
treed1189bbaa39db204633523132a7d4767b952717d /svelte.config.js
parent7d9bc1f54dfd04172e8d6d43ebc2efd6f407e833 (diff)
downloadcoinos-ui-216a600224fde22ce76b367557a02094ec693886.tar.gz
coinos-ui-216a600224fde22ce76b367557a02094ec693886.zip
prettier
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js35
1 files changed, 18 insertions, 17 deletions
diff --git a/svelte.config.js b/svelte.config.js
index 70484390..a0f46356 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,23 +1,24 @@
// import adapter from '@sveltejs/adapter-node';
-import adapter from 'svelte-adapter-bun'
-import preprocess from 'svelte-preprocess';
+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,
+ },
+ },
+ onwarn: (warning, handler) => {
+ if (warning.code.includes("caption") || warning.filename.includes("Toast"))
+ return;
+ handler(warning);
+ },
};
export default config;