lora-studio / vite.config.ts
enzostvs's picture
enzostvs HF staff
dockerfile
1b66408
raw
history blame
356 Bytes
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', '/data/uploads']
}
}
});