mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-09-24 08:27:37 +00:00
wasm first steps
This commit is contained in:
@@ -2,10 +2,11 @@ import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { enhancedImages } from '@sveltejs/enhanced-img';
|
||||
import { defineConfig } from 'vite';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import wasm from 'vite-plugin-wasm';
|
||||
|
||||
export default defineConfig({
|
||||
ssr: {
|
||||
noExternal: ['gpx'],
|
||||
},
|
||||
plugins: [enhancedImages(), tailwindcss(), sveltekit()],
|
||||
plugins: [enhancedImages(), tailwindcss(), wasm(), sveltekit()],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user