🧑‍💻 create gui/dist if it doesn't exist

This commit is contained in:
Nate Sesti 2024-05-28 08:53:08 -07:00
parent 94c8206c3a
commit 759ba1281f

View file

@ -13,6 +13,10 @@ rimrafSync(path.join(__dirname, "..", "out"));
fs.mkdirSync(path.join(__dirname, "..", "out", "node_modules"), {
recursive: true,
});
const guiDist = path.join(__dirname, "..", "..", "..", "gui", "dist");
if (!fs.existsSync(guiDist)) {
fs.mkdirSync(guiDist, { recursive: true });
}
// Get the target to package for
let target = undefined;