We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22951df commit 9f3e282Copy full SHA for 9f3e282
2 files changed
.changeset/smart-months-provide.md
@@ -0,0 +1,5 @@
1
+---
2
+'@strapi/pack-up': patch
3
4
+
5
+Check for nullish build options and don't fallback for falsy values
src/node/core/config.ts
@@ -130,7 +130,7 @@ type ConfigProperty<T> = T | ConfigPropertyResolver<T>;
130
131
/** @internal */
132
export function resolveConfigProperty<T>(prop: ConfigProperty<T> | undefined, initialValue: T): T {
133
- if (!prop) {
+ if (prop === undefined || prop === null) {
134
return initialValue;
135
}
136
0 commit comments