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.

Unable to override environment variables regex

See original GitHub issue

What problem does this feature solve?

At the moment, only environment variables prefixed with VUE_APP_ are loaded into process.env.

I have a third party library that configures itself using environment variables, however those variables can’t load as they aren’t Vue.js specific.

What does the proposed API look like?

Modify resolveClientEnv so that prefixRE is configurable via the plugin options.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Justineocommented, Mar 30, 2020

@tahpot Yes but you need to select vue-cli there so that the issue will be created in the correct repo.

0reactions
tahpotcommented, Mar 30, 2020

@Justineo This ticket was created by filling out that feature request form…

Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to override env PATH variable in Jenkins
The format you used to modify the PATH variable uses concatenation that prepends the new value to the existing one. It means that...
Read more >
You are reading environment variables the wrong way in ...
In a scenario where you build the application without having set the API_KEY environment variable the application will use undefined instead.
Read more >
Input Variables - HCL Configuration Language | Packer
Local variables can be thought of as constants, and are not able to be overridden at runtime. This page is about input variables....
Read more >
Use environment variables in the configuration | Filebeat ...
You can use environment variable references in the config file to set values that need to be configurable during deployment. To do this,...
Read more >
Readme · Variables · Ci · Help · GitLab
Predefined environment variables are provided by GitLab for the local ... You can also override variable values manually for a specific pipeline.
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