feat: WASM based web simulator (#7164)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Raphael Coeffic
2026-05-08 12:40:56 +10:00
committed by GitHub
co-authored by Claude Opus 4.6
parent a2aeab9234
commit b2fb79d9f4
29 changed files with 12305 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
export default defineConfig({
plugins: [svelte()],
define: {
'process.env': '{"NODE_DEBUG_NATIVE": null}',
},
server: {
headers: {
'Cross-Origin-Embedder-Policy': 'require-corp',
'Cross-Origin-Opener-Policy': 'same-origin',
},
},
preview: {
headers: {
'Cross-Origin-Embedder-Policy': 'require-corp',
'Cross-Origin-Opener-Policy': 'same-origin',
},
},
});