lasthourcloud/apps/client/vite.config.ts

16 lines
356 B
TypeScript
Raw Normal View History

2022-12-12 07:44:23 +00:00
import { sveltekit } from '@sveltejs/kit/vite';
import type { UserConfig } from 'vite';
const config: UserConfig = {
server: {
2022-12-21 12:06:44 +00:00
host: '0.0.0.0'
2022-12-12 07:44:23 +00:00
},
2022-12-21 12:06:44 +00:00
plugins: [sveltekit()],
define: {
GITPOD_WORKSPACE_URL: JSON.stringify(process.env.GITPOD_WORKSPACE_URL),
CODESANDBOX_HOST: JSON.stringify(process.env.CODESANDBOX_HOST)
}
2022-12-12 07:44:23 +00:00
};
export default config;