Skip to content

Commit

Permalink
Adjust vite to use relative directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kettek committed Jan 13, 2025
1 parent cc988df commit b659bb3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import {defineConfig} from 'vite'
import {svelte} from '@sveltejs/vite-plugin-svelte'
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()],
ssr: {
noExternal: ['three']
}
noExternal: ['three'],
},
base: './',
})

0 comments on commit b659bb3

Please sign in to comment.