chore: clarify comment

This commit is contained in:
2025-01-29 21:50:00 +01:00
parent 89f3ecdd39
commit fba0f59ab8

View File

@@ -64,7 +64,7 @@ const CommandHandlerPlugin = (buildConfig: Partial<BuildOptions>, 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'}`,