move to bun
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
//import adapter from 'svelte-adapter-bun';
|
||||
import adapter from '@sveltejs/adapter-node';
|
||||
import adapter from 'svelte-adapter-bun';
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
|
||||
const assets_folder = (process.env.NODE_ENV == "production") ? "public" : "static";
|
||||
const assets_folder = process.env.NODE_ENV == 'production' ? 'public' : 'static';
|
||||
process.env.ASSETS_FOLDER = assets_folder;
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
@@ -17,8 +17,8 @@ const config = {
|
||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||
adapter: adapter(),
|
||||
files: {
|
||||
assets: assets_folder,
|
||||
},
|
||||
assets: assets_folder
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user