happykit / flags

⛳️ Feature Flags for Next.js
https://happykit.dev
MIT License
1.01k stars 11 forks source link

fix configuration warning #24

Closed dferber90 closed 2 years ago

dferber90 commented 2 years ago

As config was an export, the value seen by imports was never updated, even after reconfiguring, as imported values are not live.

This is fixed by introducing a getter.

I believe this only happened for people not using swc, but I did not dig into it.

The fix for users here is to upgrade to v2.0.6 which I'll release in a bit.

relates to https://github.com/happykit/flags/issues/23

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/happykit/flags/FxdoZGaUsbZUK4tDv2sRa51bKJXz
✅ Preview: Failed

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
flags ✅ Ready (Inspect) Visit Preview Jul 4, 2022 at 7:16AM (UTC)