Files
aklive2d/libs/config.js

9 lines
191 B
JavaScript

import path from 'path'
import { read } from './yaml.js'
export default function (dirname) {
return {
basedir: dirname,
...read(path.join(dirname, 'config.yaml'))
}
}