From 1235f891636c4579f49bf9cd79e47c9c98a20b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Mon, 11 Nov 2024 17:48:50 -0500 Subject: [PATCH] chore(nuxt): update nuxt config change esbuild target to `es2020` to make import.meta properties not undefined --- nuxt.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index c6e3c64..bf0085d 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -80,6 +80,7 @@ export default defineNuxtConfig({ esbuild: { logLimit: 0, logLevel: "debug", + target: "es2020", }, logLevel: "info", }, @@ -90,6 +91,7 @@ export default defineNuxtConfig({ // loader: "default", logLevel: "verbose", // sourceMap: "inline", + target: "es2020", }, }, preset: process.env.NODE_ENV == "production" ? "bun" : "node-server",