flant5_local / vite.config.ts
lauro1's picture
test
faca43f
raw
history blame contribute delete
485 Bytes
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig, searchForWorkspaceRoot } from "vite";
import Icons from "unplugin-icons/vite";
export default defineConfig({
plugins: [
sveltekit(),
Icons({
compiler: "svelte",
}),
],
server: {
fs: {
allow: [
// your custom rules
"/models/Xenova/LaMini-Flan-T5-783M/onnx/decoder_model_merged_quantized.onnx",
"/models/Xenova/LaMini-Flan-T5-783M/onnx/encoder_model_quantized.onnx",
],
},
},
});