Closed realityforge closed 3 years ago
The motivation for this change is to pass through --env=CUSTOM to the closure compiler and this change seems to achieve this but I am completely unfamiliar with skylark so there may be much better ways of doing this...
--env=CUSTOM
Externs are only relevant optimized output (i.e. production) and you can already pass them with extra_production_args. Doesn't that work for you?
extra_production_args
That works fine - thanks!
The motivation for this change is to pass through
--env=CUSTOM
to the closure compiler and this change seems to achieve this but I am completely unfamiliar with skylark so there may be much better ways of doing this...