jsenv-brunch icon indicating copy to clipboard operation
jsenv-brunch copied to clipboard

[Question] How do I make use of the variables in module.exports?

Open abienz opened this issue 7 years ago • 0 comments

In the example you offer with API_URL, I want to do something very similar.

So I expect I can reference this variable in my js files? When I use require('config') which your documentation seems to suggest I can't access anything, have I misunderstood how this is supposed to be use?

abienz avatar May 16 '17 13:05 abienz