lora-studio / vite.config.ts
enzostvs's picture
enzostvs HF staff
vite config allow absolute path
486eb7d
raw
history blame
348 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: ["..", "../..", "../../..", "../../../..", "../../../../.."]
}
}
});