interface ResolvedForgeConfig {
    buildIdentifier?: string | (() => string);
    hooks?: ForgeHookMap;
    makers: ForgeConfigMaker[];
    outDir?: string;
    packagerConfig: ForgePackagerOptions;
    plugins: ForgeConfigPlugin[];
    publishers: ForgeConfigPublisher[];
    rebuildConfig: ForgeRebuildOptions;
}

Properties

buildIdentifier?: string | (() => string)

A string to uniquely identify artifacts of this build, will be appended to the out dir to generate a nested directory. E.g. out/current-timestamp

If a function is provided, it must synchronously return the buildIdentifier

Type declaration

    • (): string
    • Returns string

hooks?: ForgeHookMap
outDir?: string

Output directory. Default is './out'.

packagerConfig: ForgePackagerOptions

An array of Forge plugins or a tuple consisting of [pluginName, pluginOptions]

publishers: ForgeConfigPublisher[]
rebuildConfig: ForgeRebuildOptions