We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e23979 commit 2fa64efCopy full SHA for 2fa64ef
.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
@@ -124,7 +124,7 @@ type ConfigProperty<T> = T | ConfigPropertyResolver<T>;
124
125
/** @internal */
126
export function resolveConfigProperty<T>(prop: ConfigProperty<T> | undefined, initialValue: T): T {
127
- if (!prop) {
+ if (prop === undefined || prop === null) {
128
return initialValue;
129
}
130
0 commit comments