nodes/app/vite.config.ts

12 lines
273 B
TypeScript
Raw Normal View History

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-03-06 14:01:07 +01:00
ssr: {
noExternal: ['three'],
}
})