17 lines
308 B
TypeScript
17 lines
308 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite'
|
|
import { defineConfig } from 'vite'
|
|
import glsl from "vite-plugin-glsl";
|
|
import wasm from "vite-plugin-wasm";
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit(), glsl(), wasm()],
|
|
|
|
server: {
|
|
port: 8080,
|
|
},
|
|
|
|
ssr: {
|
|
noExternal: ['three'],
|
|
}
|
|
})
|