From 912cd0581a6527f45069bb2a34d0702d8e96728d Mon Sep 17 00:00:00 2001 From: Regalijan Date: Mon, 23 Oct 2023 22:28:53 -0400 Subject: [PATCH] Oops I didn't actually load the environment variables --- esbuild.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esbuild.config.js b/esbuild.config.js index 15e2ae4..371a62b 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -1,6 +1,9 @@ +import { config as dotenv } from "dotenv"; import esbuild from "esbuild"; import { sentryEsbuildPlugin } from "@sentry/esbuild-plugin"; +dotenv(); + const hasToken = typeof process.env.SENTRY_AUTH_TOKEN === "string"; esbuild.build({