lasthourcloud/apps/client/vite.config.ts
Andras Bacsai 9c6f412f04 wip: trpc
2022-12-21 13:06:44 +01:00

16 lines
356 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import type { UserConfig } from 'vite';
const config: UserConfig = {
server: {
host: '0.0.0.0'
},
plugins: [sveltekit()],
define: {
GITPOD_WORKSPACE_URL: JSON.stringify(process.env.GITPOD_WORKSPACE_URL),
CODESANDBOX_HOST: JSON.stringify(process.env.CODESANDBOX_HOST)
}
};
export default config;