all repos — archive/homestead @ 562b0533300ad5ad8cf4695aa7fc2b844b918169

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
    }
  }
);