From de6a14a9a94970c43633c1869f7999bc357ff65c Mon Sep 17 00:00:00 2001 From: leaftail1880 <110915645+leaftaul1880@users.noreply.github.com> Date: Sun, 16 Feb 2025 15:18:54 +0300 Subject: [PATCH] fix: build --- tools/build/cli.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/build/cli.js b/tools/build/cli.js index 74e50bd8..b3e40285 100644 --- a/tools/build/cli.js +++ b/tools/build/cli.js @@ -73,6 +73,8 @@ function getOutPathsAndCleanDirectory(dir) { * @param {esbuild.BuildOptions} options */ export function buildCommand({ test, dev, world, port, vitest, outfile, entry }, options) { + if (!entry) throw new Error('Entry not specified!') + let start = Date.now() let firstBuild = true const at = process.cwd()