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');