Поправки сборщика

This commit is contained in:
Book Pauk
2019-01-06 13:57:58 +07:00
parent 1c136b3a34
commit 3b0e38c516
2 changed files with 3 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ const tempDownloadDir = `${distDir}/tmp/download`;
async function main() {
// перемещаем public на место
await fs.emptyDir(outDir);
await fs.ensureDir(publicDir); // чтобы не ругался в postinstall
await fs.move(publicDir, `${outDir}/public`);
await fs.ensureDir(tempDownloadDir);