The Next.js package comes preconfigured for Next.js and also enforces some extra rules by default to make sure you have out-of-the-box compatibility in all different Next.js runtimes.
Transform environment variables into JSON object with sanitized values.
Inject environment variables in process.env with Rollup