mirror of
https://github.com/Theaninova/Bampy.git
synced 2025-12-10 11:36:18 +00:00
12 lines
292 B
TypeScript
12 lines
292 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import wasm from 'vite-plugin-wasm';
|
|
import wasmPack from 'vite-plugin-wasm-pack';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit(), wasmPack('./bampy'), wasm()],
|
|
ssr: {
|
|
noExternal: ['three']
|
|
}
|
|
});
|