Use @snowpack/plugin-dotenv for environment configuration?
See original GitHub issueI’d like to be able to easily change some environment-specific variables (e.g. The Keycloak server url), rather than having to find every place in the code where they’re hard coded. Has any thought been given to using something like dotenv
for such things? I’d be happy to submit a patch to use the snowpack plugin: https://github.com/snowpackjs/snowpack/tree/main/plugins/plugin-dotenv
Issue Analytics
- State:
- Created 3 years ago
- Comments:25 (15 by maintainers)
Top Results From Across the Web
@snowpack/plugin-dotenv - npm
@snowpack/plugin-dotenv ... Use dotenv to load environment variables from your project .env files. See Snowpack's Environment Variables ...
Read more >Environment Variables - Snowpack
Use a plugin such as plugin-dotenv to load environment variables from a .env file. Reading environment variables. You can read environment variables directly...
Read more >Does the dotenv plugin support options for specifying a path to ...
My snowpack project root is the ui directory. This is a multi-projwct set up with the ui and server being separate projects with...
Read more >@snowpack/plugin-dotenv examples - CodeSandbox
Learn how to use @snowpack/plugin-dotenv by viewing and forking example apps that make use of @snowpack/plugin-dotenv on CodeSandbox.
Read more >@snowpack/plugin-dotenv - npm package | Snyk
Use dotenv to load environment variables from your project .env files. See Snowpack's Environment Variables documentation to learn more. npm install --save-dev ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@xgp Yes. It will be in Keycloak 13.
That all sounds good. Short answer is, yes, we would welcome your PR.