8 lines
185 B
TypeScript
8 lines
185 B
TypeScript
|
import toml from 'toml';
|
||
|
import fs from 'fs';
|
||
|
import { join } from 'path';
|
||
|
|
||
|
export const config = toml.parse(
|
||
|
fs.readFileSync(join(__dirname, '..', '..', 'config.toml'), 'utf-8'),
|
||
|
);
|