15 lines
281 B
TypeScript
15 lines
281 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import type { UserConfig } from 'vite';
|
|
|
|
const config: UserConfig = {
|
|
plugins: [sveltekit()],
|
|
|
|
server: {
|
|
fs: {
|
|
// Allow serving files from one level up to the project root
|
|
allow: ['..'],
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|