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.

babel-plugin-transform-inline-environment-variables - Blacklist/whitelist?

See original GitHub issue

Iā€™ve been using babel-plugin-node-env-inline for a while when compiling code that is to be used in Node. Iā€™m getting to the point where I would like to inline other environment variables for dead code elimination while not inlining others for use with dotenv. Would it make sense to have an optional blacklist/whitelist to specify which environment variables should be inlined or not?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
JakeDluhycommented, Jul 4, 2017

Iā€™ve had a PR open for this for almost two months now. Iā€™m waiting for reviewer feedback that hasnā€™t been coming. Iā€™d really like to get this merged. Is there anything I can do to help speed up the process?

0reactions
boopathicommented, May 10, 2017

Let me know if youā€™d like me to submit a PR

sure šŸ‘

Read more comments on GitHub >

github_iconTop Results From Across the Web

babel-plugin-transform-inline-environment-variables-whitelist - npm ...
babel -plugin-transform-inline-environment-variables-whitelist ... blacklist - Array indicating which inline environment variables you want to excludeĀ ...
Read more >
babel-plugin-transform-inline-environment-variables - npm
Start using babel-plugin-transform-inline-environment-variables in your project by running `npm iĀ ...
Read more >
babel-plugin-transform-inline-environment-variables
With a configuration file (Recommended) Ā· Via CLI Ā· Via Node API.
Read more >
React Native: process.env has only NODE_ENV
Question: React Native: Process.env Has Only NODE_ENV. npm Install Babel-plugin-transform-inline-environment-variables --save-dev
Read more >
Babel v6 Changelog - Fossies
babel-generator , babel-plugin-transform-es2015-arrow-functions ... babel-plugin-transform-inline-environment-variables ...
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