lora-studio / vite.config.ts
enzostvs's picture
enzostvs HF staff
try vite plugin
9d95d3f
raw
history blame
350 Bytes
import { sveltekit } from '@sveltejs/kit/vite';
import { enhancedImages } from '@sveltejs/enhanced-img';
import { defineConfig } from 'vite';
import { myVitePlugin } from './plugin';
export default defineConfig({
plugins: [
enhancedImages(),
sveltekit(),
myVitePlugin(),
],
server: {
fs: {
strict: false,
allow: [".."],
},
}
});