rano/vite.config.js
Ankit Patial 45c318b897 - graph, dotenv read
- graph, cors and secure header
- web, urql client basic setup
2024-11-04 11:35:43 +05:30

13 lines
276 B
JavaScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
server: {
port: parseInt(process.env.WEB_PORT ?? '3001'),
fs: {
allow: ['./web/assets', './web/app.css', './graph']
}
}
});