From 4ff3add50f170b50f7d629a7d16e03f196e19edc Mon Sep 17 00:00:00 2001 From: Drew Powers <1369770+drwpow@users.noreply.github.com> Date: Mon, 3 May 2021 11:47:51 -0600 Subject: Clean dependencies (#166) * Clean dependencies This moves some dependencies around where they should be * Formatting --- scripts/index.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'scripts/index.js') diff --git a/scripts/index.js b/scripts/index.js index cfa747769..9025e4781 100755 --- a/scripts/index.js +++ b/scripts/index.js @@ -1,19 +1,19 @@ #!/usr/bin/env node export default async function run() { - const [cmd, ...args] = process.argv.slice(2); - switch (cmd) { - case 'dev': - case 'build': { - const { default: build } = await import('./cmd/build.js'); - build(...args, cmd === 'dev' ? 'IS_DEV' : undefined); - break; - } - case 'copy': { - const { default: copy } = await import('./cmd/copy.js'); - copy(...args); - break; - } + const [cmd, ...args] = process.argv.slice(2); + switch (cmd) { + case 'dev': + case 'build': { + const { default: build } = await import('./cmd/build.js'); + build(...args, cmd === 'dev' ? 'IS_DEV' : undefined); + break; } + case 'copy': { + const { default: copy } = await import('./cmd/copy.js'); + copy(...args); + break; + } + } } run(); -- cgit v1.2.3