diff options
author | Alan Pearce | 2017-06-18 20:07:14 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-18 20:07:14 +0200 |
commit | 2fef943bf1c52e8d2be64521202936ca0f7358e3 (patch) | |
tree | ef839e7442e7a996dc3f8c918529a500b7efa53e /src/modules | |
parent | e13c5726846a89df4196f6abc9fc98d99d48305b (diff) | |
download | homestead-2fef943bf1c52e8d2be64521202936ca0f7358e3.tar.lz homestead-2fef943bf1c52e8d2be64521202936ca0f7358e3.tar.zst homestead-2fef943bf1c52e8d2be64521202936ca0f7358e3.zip |
feat: use configly/TOML for configuration
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/config.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/config.js b/src/modules/config.js new file mode 100644 index 0000000..461945d --- /dev/null +++ b/src/modules/config.js @@ -0,0 +1,10 @@ +'use strict' + +const TOML = require('toml') +const config = require('configly') + +module.exports = config({ + parsers: { + toml: TOML.parse + } +}) |