uber-node / zero-config

A zero configuration configuration loader
MIT License
116 stars 10 forks source link

Add support for dcValue #9

Closed Raynos closed 9 years ago

Raynos commented 9 years ago

See the updated README.

The dependency on a file in devserver is a pain in the ass.

We can fix this with a dcValue key and an fs.readFileSync.

This also makes testing in bedrock easy because @lxe can just pass a fake dcValue instead of create a fake file.

cc @sh1mmer @lxe

lxe commented 9 years ago

lgtm. Will update bedrock .