Last active
December 27, 2023 15:42
-
-
Save dperuo/a2148c33eb7ed8da9505d40ddd4bb01a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const environment = (...features: ReadonlyArray<Record<string, unknown>>) => ({ | |
redirectTo: { | |
pwa: 'http://localhost:8100', | |
}, | |
...features.reduce((acc, next) => ({ ...acc, ...next}), {}) | |
} as const); | |
// environment(withFoo(), withBar(), ...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment