fix experimental feature flag resolution for 'all'
When you have a custom config for the prefix/separator values, then we want to disable the `oxideParser` for now. But we also have to ensure that if you use the value `"all"` for the experimental feature flag that we enable all feature flags. We were using the keys of the array instead of the values.
This commit is contained in:
parent
3779be2bab
commit
b6b3f854a7
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ export function normalizeConfig(config) {
|
|||
if (config.prefix !== '' || config.separator !== ':') {
|
||||
if (config.experimental === 'all') {
|
||||
config.experimental = {}
|
||||
for (let key in featureFlags.experimental) {
|
||||
for (let key of featureFlags.experimental) {
|
||||
config.experimental[key] = true
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue