diff --git a/packages/backend/src/config.ts b/packages/backend/src/config.ts index dfaf186e03..a550fdc364 100644 --- a/packages/backend/src/config.ts +++ b/packages/backend/src/config.ts @@ -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(