Hacker News new | ask | show | jobs
by midrus 1833 days ago
The catch is that this is intentionally made inconvenient. If it were a config setting I could just put it there,commit, and forget about it.

By making me setting an environment variable you are forcing me to remember to set it up in my infrastructure, on each environment, on each developer laptop, for each project independently, and if my project is open source, good luck with any user remembering/caring to set the env var.

And this is pretty intentional so that people forget or just don't care to disable it.

That's the catch.

https://github.com/vercel/next.js/issues/8851

1 comments

Next supports loading env variables from files, and as far as I can see, telemetry respects this. Add this line to a `.env` file, and it's done.