Closed steida closed 6 years ago
The reason is, having things in json file is risky and confusing.
Bad idea, they serve different purposes. A version number should be embedded upon build, while api-keys, for example, should come from ENV
keys.
transform-define
and dotenv
can and should live next to each other.
I suppose this is a way to go https://github.com/zeit/next.js/tree/canary/examples/with-dotenv