mirror of
https://github.com/Theaninova/Bampy.git
synced 2025-12-12 12:36:16 +00:00
feat: rust stuff
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
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(), wasm()],
|
||||
plugins: [sveltekit(), wasmPack('./bampy'), wasm()],
|
||||
ssr: {
|
||||
noExternal: ['three']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user