question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use @snowpack/plugin-dotenv for environment configuration?

See original GitHub issue

I’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:closed
  • Created 3 years ago
  • Comments:25 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
ssilvertcommented, Apr 6, 2021

@xgp Yes. It will be in Keycloak 13.

1reaction
ssilvertcommented, Mar 23, 2021

That all sounds good. Short answer is, yes, we would welcome your PR.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found