From b7726cd514ce28f2f677e8a82098e6dee9c0e714 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Wed, 7 Jun 2023 16:56:46 -0400 Subject: [PATCH] cleanup --- scripts/build.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index 6fe7777c..517ad613 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -13,19 +13,17 @@ import ora from 'ora'; import util from 'util'; const execPromise = util.promisify(exec); - -const outdir = 'dist'; -const sitedir = '_site'; -const spinner = ora({ hideCursor: false }).start(); -let childProcess; -let buildResult; - const { bundle, copydir, dir, serve, types } = commandLineArgs([ { name: 'bundle', type: Boolean }, { name: 'copydir', type: String }, { name: 'serve', type: Boolean }, { name: 'types', type: Boolean } ]); +const outdir = 'dist'; +const sitedir = '_site'; +const spinner = ora({ hideCursor: false }).start(); +let childProcess; +let buildResult; // // Runs 11ty and builds the docs. The returned promise resolves after the initial publish has completed. The child