Installing SvelteKit

Adding SvelteKit to root directory.
This commit is contained in:
Rodrigo Pinto 2024-11-12 02:07:39 -03:00
commit 073296a90b
15 changed files with 2174 additions and 5 deletions

17
svelte.config.js Normal file
View file

@ -0,0 +1,17 @@
import { mdsvex } from 'mdsvex';
import adapter from '@sveltejs/adapter-auto';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
},
preprocess: [mdsvex()],
extensions: ['.svelte', '.svx']
};
export default config;