Documentation
    Preparing search index...

    Input shape for RcFile configuration. A partial version of RcFile used when creating or updating the application configuration. Includes preset functions for applying common configurations.

    const input: RcFileInput = {
    typescript: true,
    presets: [webPreset()],
    directories: { controllers: './app/controllers' }
    }
    interface RcFileInput {
        presets?: PresetFn[];
        typescript?: boolean;
        directories?: Partial<DirectoriesNode> & { [key: string]: string };
        preloads?: ((() => Promise<any>) | PreloadNode)[];
        metaFiles?: string[] | MetaFileNode[];
        commands?: (() => Promise<any>)[];
        commandsAliases?: { [key: string]: string };
        tests?: {
            suites: { name: string; files: string | string[]; timeout?: number }[];
            forceExit?: boolean;
            timeout?: number;
        };
        providers?: (
            | (
                () => Promise<
                    {
                        default?: new (app: Application<any>) => ContainerProviderContract;
                    },
                >
            )
            | ProviderNode
        )[];
        hooks?: Partial<
            WatcherHooks & DevServerHooks & BundlerHooks & TestRunnerHooks,
        >;
        experimental?: ExperimentalFlagsList;
    }
    Index

    Properties

    presets?: PresetFn[]

    List of preset functions to apply to the configuration. Presets provide common configuration patterns.

    typescript?: boolean
    directories?: Partial<DirectoriesNode> & { [key: string]: string }
    preloads?: ((() => Promise<any>) | PreloadNode)[]
    metaFiles?: string[] | MetaFileNode[]
    commands?: (() => Promise<any>)[]
    commandsAliases?: { [key: string]: string }
    tests?: {
        suites: { name: string; files: string | string[]; timeout?: number }[];
        forceExit?: boolean;
        timeout?: number;
    }
    providers?: (
        | (
            () => Promise<
                { default?: new (app: Application<any>) => ContainerProviderContract },
            >
        )
        | ProviderNode
    )[]
    hooks?: Partial<WatcherHooks & DevServerHooks & BundlerHooks & TestRunnerHooks>
    experimental?: ExperimentalFlagsList

    Optional flags to enable experimental features. Can be extended by packages to add their own experimental options.