mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-07-07 17:45:01 +00:00
16 lines
418 B
TypeScript
16 lines
418 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import type { UserConfig } from 'vite';
|
|
import wasm from 'vite-plugin-wasm';
|
|
import topLevelAwait from 'vite-plugin-top-level-await';
|
|
|
|
const config: UserConfig = {
|
|
mode: 'process.env.MODE' || 'development',
|
|
plugins: [sveltekit(), wasm(), topLevelAwait()],
|
|
server: {
|
|
fs: {
|
|
allow: ['./static'],
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|