7 lines
178 B
JavaScript
7 lines
178 B
JavaScript
import YAML from "yaml"
|
|
import { readFileSync } from "fs"
|
|
|
|
const yamlData = readFileSync("./config.yml").toString()
|
|
const settings = YAML.parse(yamlData)
|
|
|
|
export default settings |