DEV Community

Discussion on: You are reading environment variables the wrong way in Next.js

 
reikrom profile image
Rei Krom

If you are working with a build tool that supports tree shaking, you might be fine using the package as long as you only import the function you need and not the whole thing. Depends what you are working with