From 0b1c34d5604cbe1507c4b142995d49df0c65d3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Vanvelthem?= Date: Fri, 30 Sep 2022 00:29:08 +0200 Subject: [PATCH] chore: change esbuild target to node14 --- packages/http-exception/vitest.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/http-exception/vitest.config.ts b/packages/http-exception/vitest.config.ts index 22b079e..8eb8f7c 100644 --- a/packages/http-exception/vitest.config.ts +++ b/packages/http-exception/vitest.config.ts @@ -7,6 +7,9 @@ import 'error-cause-polyfill/auto'; export default defineConfig({ plugins: [tsconfigPaths()], + esbuild: { + target: ['node14'], + }, test: { globals: true, environment: 'node',