refactor(runner): rename preprocessing to runner and update directory structure
This commit is contained in:
9
libs/config.js
Normal file
9
libs/config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import path from 'path'
|
||||
import { read } from './yaml.js'
|
||||
|
||||
export default function (dirname) {
|
||||
return {
|
||||
basedir: dirname,
|
||||
...read(path.join(dirname, 'config.yaml'))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user