all repos — archive/homestead @ 529946dc5bdccc2153c97e2040953047319480f4

My future indieweb platform

src/modules/config.js (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict";

const path = require("path");
const TOML = require("toml");
const config = require("configly");

module.exports = config(
  ["./config", path.resolve(__dirname, "../../config/")],
  {
    parsers: {
      toml: TOML.parse
    }
  }
);