Files
pow-captcha/pkgs/benchmark/vite.config.ts

13 lines
359 B
TypeScript

import { defineConfig } from "vite";
import { reactRouter } from "@react-router/dev/vite";
import wasm from "vite-plugin-wasm";
import topLevelAwait from "vite-plugin-top-level-await";
// https://vite.dev/config/
export default defineConfig({
plugins: [reactRouter(), wasm(), topLevelAwait()],
worker: {
plugins: () => [wasm(), topLevelAwait()],
},
});