File size: 338 Bytes
e71d24a
17aecfb
404baa5
e71d24a
 
17aecfb
 
 
 
404baa5
 
 
 
 
e71d24a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { sveltekit } from '@sveltejs/kit/vite';
import { enhancedImages } from '@sveltejs/enhanced-img';
import { defineConfig, searchForWorkspaceRoot } from 'vite';

export default defineConfig({
	plugins: [
		enhancedImages(),
		sveltekit()
	],
	server: {
		fs: {
			allow: [searchForWorkspaceRoot(process.cwd()),'/uploads']
		}
	}
});