From b480486dabbdd4f1e9113331096bcd4fdd62e46e Mon Sep 17 00:00:00 2001 From: EGOIST <0x142857@gmail.com> Date: Fri, 11 Mar 2022 11:47:48 +0800 Subject: [PATCH] fix(regression): `entry` gets ignored if it is an object, closes #583 --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 88b6e999..81cd7d05 100644 --- a/src/index.ts +++ b/src/index.ts @@ -100,6 +100,7 @@ const normalizeOptions = async ( throw new PrettyError(`Cannot find ${alias}: ${filename}`) } }) + options.entry = entry logger.info('CLI', `Building entry: ${JSON.stringify(entry)}`) }