Closed KidkArolis closed 7 years ago
Hmm... require('feathers-configuration')()
works for me. You still seeing this issue?
I had a custom node-config wrapper before feathers-configuration, and I really wanted to do just the require, like you.
The only way I found to do it was to module.exports a getter. But you can only do that in ES5. I doubt you can achomplish this in ES6.
Docs say:
I need to do
I'd like to do
just like in node-config.