From fba0f59ab8163986bfb4baec21bc3cd41f349374 Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Wed, 29 Jan 2025 21:50:00 +0100 Subject: [PATCH] chore: clarify comment --- src/commands/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/build.ts b/src/commands/build.ts index 6485f26..e255f9e 100644 --- a/src/commands/build.ts +++ b/src/commands/build.ts @@ -64,7 +64,7 @@ const CommandHandlerPlugin = (buildConfig: Partial, ambientFilePat const options = build.initialOptions const defVersion = () => JSON.stringify(require(p.resolve('package.json')).version); - // for some reason it errored out, should fix it + // should fix a type error options.define = { ...(buildConfig.define ?? {}), __DEV__: `${buildConfig.mode === 'development'}`,