AdonisJS API
    Preparing search index...
    PresetFn: (options: { rcFile: NormalizedRcFileInput }) => void

    Type for AdonisRC preset functions. Preset functions are used to apply common configuration patterns to the RcFile configuration object.

    Type Declaration

    const webPreset: PresetFn = ({ rcFile }) => {
    rcFile.providers.push(httpProvider)
    rcFile.preloads.push(routesPreload)
    }