mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
27 lines
506 B
JavaScript
27 lines
506 B
JavaScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
|
|
/** @type {import('vite').UserConfig} */
|
|
const config = {
|
|
plugins: [sveltekit()],
|
|
optimizeDeps: {
|
|
include: ['echarts']
|
|
},
|
|
ssr: {
|
|
noExternal: ['echarts']
|
|
},
|
|
legacy: {
|
|
buildSsrCjsExternalHeuristics: true
|
|
},
|
|
server: {
|
|
port: 3000
|
|
},
|
|
test: {
|
|
include: ['tests/**/*.test.ts'],
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
thread: true
|
|
}
|
|
};
|
|
|
|
export default config;
|