Create the dist dir if it doesn't already exist

This commit is contained in:
Steve Gravrock
2025-04-09 20:37:41 -07:00
parent a09fdd3284
commit 52aaf63d22

View File

@@ -9,6 +9,9 @@ const buildDistribution = require('./lib/buildDistribution');
const tmpDir = 'dist/tmp'
if (!fs.existsSync(tmpDir)) {
if (!fs.existsSync(path.dirname(tmpDir))) {
fs.mkdirSync(path.dirname(tmpDir));
}
fs.mkdirSync(tmpDir);
}