Controlling Extension Load Order in Directus: Does Filename or Entry Order Matter?

Hey everyone!

Is there a way to control the order in which Directus extensions are loaded? I noticed that the entries array in the directus:extension section of package.json doesn’t seem to influence the loading order.

From what I’ve gathered, it looks like extensions are loaded per type group (e.g., hooks, endpoints), and within each group, the filename might determine the load order. Can anyone confirm if that’s correct, or suggest a better way to manage the loading sequence?

1 Like

Not aware of an method to change the loading order of unrelated extensions.

But I’m building my extensions right inside the docker container. That way you might get control in which order they are loaded: Question about multiple marketplaces and private marketplace with auth - #3 by Nik
(As bonus you can also build extensions from private repos)