1
0
mirror of https://github.com/Lightcord/Lightcord.git synced 2025-04-12 00:55:40 +02:00

Merge pull request #131 from pryme-svg/master

Fixes #130
This commit is contained in:
JeanOUINA 2020-12-08 16:56:48 +01:00 committed by GitHub
commit 75bc92dc78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,12 @@ async function main(){
console.info("Starting build")
console.info("Reseting existent directory...")
try{
await fs.promises.rmdir("./distApp", {"recursive": true})
} catch (error) {
console.error(error);
}
await fs.promises.mkdir(PROJECT_DIR+"/distApp/dist", {"recursive": true})
console.info("Executing command `npm run compile`")