|
@@ -3,7 +3,7 @@ import { dirname, join, relative } from "node:path";
|
|
|
import { fileURLToPath } from "node:url";
|
|
|
import { randomUUID } from "node:crypto";
|
|
|
import { exec } from "node:child_process";
|
|
|
-import dotenv from "dotenv";
|
|
|
+import "dotenv/config";
|
|
|
import { outputDir as rollupCfgOutputDir, outputFile as rollupCfgOutputFile } from "../../rollup.config.mjs";
|
|
|
import locales from "../../assets/locales.json" assert { type: "json" };
|
|
|
import pkg from "../../package.json" assert { type: "json" };
|
|
@@ -28,7 +28,6 @@ const buildTs = Date.now();
|
|
|
const buildUuid = randomUUID();
|
|
|
|
|
|
const { env, exit } = process;
|
|
|
-dotenv.config();
|
|
|
|
|
|
type CliArg<TName extends keyof Required<RollupArgs>> = Required<RollupArgs>[TName];
|
|
|
|