AdonisJS API
    Preparing search index...

    Class ConfigLoader

    The config loader imports all the script files from a given directory and returns their exports as a tree of objects.

    Following file extensions are considered script files.

    • .js
    • .ts (without .d.ts)
    • .json
    • .cjs
    • .mjs
    Index
    • Load config files as a tree from a given path.

      Returns Promise<any>