2024-03-06 14:01:07 +01:00
|
|
|
import { sveltekit } from '@sveltejs/kit/vite'
|
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
import glsl from "vite-plugin-glsl";
|
2024-04-04 19:17:27 +02:00
|
|
|
import wasm from "vite-plugin-wasm";
|
2024-03-06 14:01:07 +01:00
|
|
|
|
|
|
|
export default defineConfig({
|
2024-04-04 19:17:27 +02:00
|
|
|
plugins: [sveltekit(), glsl(), wasm()],
|
2024-04-10 14:27:23 +02:00
|
|
|
|
|
|
|
server: {
|
|
|
|
port: 8080,
|
|
|
|
},
|
|
|
|
|
2024-03-06 14:01:07 +01:00
|
|
|
ssr: {
|
|
|
|
noExternal: ['three'],
|
|
|
|
}
|
|
|
|
})
|