Type for AdonisRC preset functions. Preset functions are used to apply common configuration patterns to the RcFile configuration object.
Object containing the RcFile to modify
const webPreset: PresetFn = ({ rcFile }) => { rcFile.providers.push(httpProvider) rcFile.preloads.push(routesPreload)} Copy
const webPreset: PresetFn = ({ rcFile }) => { rcFile.providers.push(httpProvider) rcFile.preloads.push(routesPreload)}
Type for AdonisRC preset functions. Preset functions are used to apply common configuration patterns to the RcFile configuration object.