Skip to content
Snippets Groups Projects
Commit 49885504 authored by Marie's avatar Marie
Browse files

merge: fix: sort multiple config files (#285)

parents 7b04c6ad 8bc77072
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ export function loadConfig(): Config {
JSON.parse(fs.readFileSync(`${_dirname}/../../../built/_vite_/manifest.json`, 'utf-8'))
: { 'src/_boot_.ts': { file: 'src/_boot_.ts' } };
const config = globSync(path)
const config = globSync(path).sort()
.map(path => fs.readFileSync(path, 'utf-8'))
.map(contents => yaml.load(contents) as Source)
.reduce(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment