Skip to content
New issue

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

fix(evaluators): respect environment variables during evaluation #670

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

Anber
Copy link
Collaborator

@Anber Anber commented Sep 3, 2020

Motivation

It fixes #666

Summary

It looks logical to pass all env variables and not only NODE_ENV. I don't know why we had such a limitation.

@woahitsraj
Copy link

I actually tried this approach when I attempted to fix it myself and it didn't seem to work but I may have gotten something wrong. Before this gets merged in maybe it could be verified with this minimal failing example I set up?

https://codesandbox.io/s/linaria-demo-forked-q25fw?file=/src/App.js

Copy link
Contributor

@jayu jayu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Anber Anber merged commit 4151149 into master Sep 11, 2020
Anber added a commit that referenced this pull request Sep 11, 2020
@thymikee thymikee deleted the issue-666 branch October 26, 2020 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Environment variables not respected during Interpolation
3 participants