preliminary stuff

This commit is contained in:
dylan committed 2024-04-20 23:28:33 -07:00
1 parent dd3482c11d
commit ef79a9371f
12 files changed
+534 -269

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import dotenv from 'dotenv';
import * as url from 'url';
import * as path from 'path';
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
const dotenvPath = path.join(__dirname, "..", ".env");
dotenv.config({
path: dotenvPath,
});
if (process.argv[2]) {
import(path.join(process.cwd(), process.argv[2]));
}