some cleanup and gqlgen setup

This commit is contained in:
2024-11-01 19:55:30 +05:30
parent e41d27cf97
commit 1fb2d7d154
39 changed files with 5619 additions and 144 deletions

View File

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