You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rollup_bundle. (Maybe other rules are affected as well.)
Description
As it says https://bazel.build/designs/2016/06/21/environment.html rules can access the environment variables that have been set with --action-env option if the rule executes the action with use_default_shell_env variable set to true.
Describe the solution you'd like
We should be able to access env variables to make our config files to be responsive to the environment changes.
Use case
I have needed this feature when I was trying to eliminate environmentally changed code paths by using rollup-plugin-terser and @rollup/plugin-replace.
The text was updated successfully, but these errors were encountered:
🚀 feature request
Relevant Rules
rollup_bundle. (Maybe other rules are affected as well.)
Description
As it says https://bazel.build/designs/2016/06/21/environment.html rules can access the environment variables that have been set with --action-env option if the rule executes the action with use_default_shell_env variable set to true.
Describe the solution you'd like
We should be able to access env variables to make our config files to be responsive to the environment changes.
Use case
I have needed this feature when I was trying to eliminate environmentally changed code paths by using rollup-plugin-terser and @rollup/plugin-replace.
The text was updated successfully, but these errors were encountered: