File size: 485 Bytes
faca43f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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",
			],
		},
	},
});