From 48ad13b98fd1d79ba8fde6296e82a9c5121776d0 Mon Sep 17 00:00:00 2001 From: CN <31734342+cn42@users.noreply.github.com> Date: Thu, 4 Jan 2024 09:59:47 +0100 Subject: [PATCH] Update build.ts Rename output folder --- scripts/build.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/build.ts b/scripts/build.ts index ecf4b68..f15143f 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -3,14 +3,13 @@ import { createWriteStream, existsSync, mkdirSync } from 'fs'; import { name } from '../package.json'; -const dir = 'out'; +const dir = 'dist'; const file = `${name}.jar`; const path = `${dir}/${file}`; !existsSync(dir) && mkdirSync(dir); const output = createWriteStream(`${__dirname}/../${path}`); - const archive = archiver('zip'); archive.on('error', (error) => {