import * as path from "path"; import topLevelAwait from "vite-plugin-top-level-await"; import wasm from "vite-plugin-wasm"; import { defineConfig } from "vitest/config"; export default defineConfig({ plugins: [wasm(), topLevelAwait()], resolve: { alias: { "@": path.resolve(__dirname, "./src"), }, }, test: { environment: "jsdom", }, });