🧑💻 create gui/dist if it doesn't exist
This commit is contained in:
parent
94c8206c3a
commit
759ba1281f
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue