lora-studio / vite.config.ts
enzostvs's picture
enzostvs HF staff
use express to render data assets
ac02d1c
raw
history blame
357 Bytes
import { sveltekit } from '@sveltejs/kit/vite';
import { enhancedImages } from '@sveltejs/enhanced-img';
import { defineConfig } from 'vite';
import { customPlugin } from './custom-plugin';
export default defineConfig({
plugins: [
enhancedImages(),
sveltekit(),
customPlugin(),
],
server: {
fs: {
strict: false,
allow: [".."],
},
}
});