diff options
| author | Fuwn <[email protected]> | 2024-09-28 16:40:08 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-28 16:40:12 -0700 |
| commit | 802dcc9f5a4b2f0824e2600cd080d33691056d16 (patch) | |
| tree | 23c194f2410e21009981a8e475e703bd210b5b4e /vite.config.ts | |
| parent | feat(html): update analytics url (diff) | |
| download | due.moe-802dcc9f5a4b2f0824e2600cd080d33691056d16.tar.xz due.moe-802dcc9f5a4b2f0824e2600cd080d33691056d16.zip | |
feat(api): set up graphql api
Diffstat (limited to 'vite.config.ts')
| -rw-r--r-- | vite.config.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vite.config.ts b/vite.config.ts index 2737c408..3914dcb4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,9 +1,10 @@ import { sveltekit } from '@sveltejs/kit/vite'; +import sveltekitGql from 'sveltekit-graphql/vite'; import { defineConfig } from 'vite'; // import { webSocketServer } from '$lib/websocket'; export default defineConfig({ - plugins: [sveltekit() /* webSocketServer */], + plugins: [sveltekitGql(), sveltekit() /* webSocketServer */], server: { // https: { // key: Bun.env.PUBLIC_ANILIST_REDIRECT_URI?.includes('192.168') |