From 7337d16e4eab68bdec1f9e30c673c34f36a3c309 Mon Sep 17 00:00:00 2001 From: John <72810050+Notplayingallday383@users.noreply.github.com> Date: Tue, 7 May 2024 11:34:57 -0400 Subject: [PATCH] OK this time actually fix build --- build.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/build.ts b/build.ts index 08d51c5..7ebe4f3 100644 --- a/build.ts +++ b/build.ts @@ -1,6 +1,7 @@ import { build } from "esbuild" import { rimraf } from "rimraf" import { copyFile, mkdir, readFile } from 'node:fs/promises'; +const isDevelopment = process.argv.includes('--dev'); await rimraf('dist'); await mkdir('dist'); await copyFile('src/config.js', 'dist/config.js');