Fixes build

This commit is contained in:
Michel Fedde 2025-06-26 21:48:55 +02:00
parent 917c1f1fed
commit 4f5beda018
2 changed files with 18 additions and 9 deletions

View file

@ -1,3 +1,5 @@
import * as fs from "node:fs";
if (!process.env.BUILD_TARGET) {
process.env.BUILD_TARGET = "LOCAL";
}
@ -7,8 +9,12 @@ if (!process.env.BUILD_LABEL) {
}
import context from './context.mjs';
import {createBuildFile} from "./create-build-file.mjs";
await context.rebuild();
await context.dispose();
(async () => {
await context.rebuild();
await context.dispose();
createBuildFile()
})()
import "./create-build-file.mjs";