mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-11-21 11:04:56 +01:00
11 lines
483 B
TypeScript
11 lines
483 B
TypeScript
import { defineConfig } from 'vite';
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
export default defineConfig({
|
|
root: fileURLToPath(new URL('.', import.meta.url)),
|
|
plugins: [svelte({ configFile: false })],
|
|
resolve: { alias: { $lib: fileURLToPath(new URL('../../src/lib', import.meta.url)) } },
|
|
server: { port: 5187, strictPort: true, host: '127.0.0.1', fs: { allow: [fileURLToPath(new URL('../..', import.meta.url))] } },
|
|
});
|