diff --git a/package.json b/package.json index 3e0ab0c..bb4d2a2 100644 --- a/package.json +++ b/package.json @@ -53,8 +53,6 @@ "vitest": "^1.3.1" }, "overrides": { - "vite": { - "rollup": "npm:@rollup/wasm-node" - } + "rollup": "npm:@rollup/wasm-node" } } diff --git a/vite.config.mts b/vite.config.mts index 3712126..0620039 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -2,7 +2,8 @@ import { defineConfig } from "vitest/config"; // eslint-disable-next-line import/no-default-export export default defineConfig({ - test: { - globals: true, + esbuild: { + target: "esnext", + platform: "node", }, });