We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug
process.env.RAZZLE_xxx environment variables are all compiled into the bundle despite not being called in isomorphic code.
process.env.RAZZLE_xxx
Only add environment variable used in isomorphic code to the bundle.
Sorry, but I don't understand razzle's environment variable logic well enough to suggest anything.
The text was updated successfully, but these errors were encountered:
This is a Razzle issue. There's discussion about Razzle runtime vars in the repo, let's go there with this.
Sorry, something went wrong.
Here if anyone is interested. jaredpalmer/razzle#528
if anyone want to use .env variables in runtime, use this little package. https://www.npmjs.com/package/razzle-plugin-runtimeenv
No branches or pull requests
Bug, Feature, or Question?
Bug
Current Behavior
process.env.RAZZLE_xxx
environment variables are all compiled into the bundle despite not being called in isomorphic code.Desired Behavior
Only add environment variable used in isomorphic code to the bundle.
Suggested Solutions
Sorry, but I don't understand razzle's environment variable logic well enough to suggest anything.
Additional Information
The text was updated successfully, but these errors were encountered: