@oazmi/superbuild - v0.3.2
    Preparing search index...

    Interface LongBuildControllerConfig

    interface LongBuildControllerConfig {
        debuggingLogs?: LoggerFunction;
        format?: any;
    }
    Index

    Properties

    debuggingLogs?: LoggerFunction

    enable internal logging for the LongBuildController, when DEBUG.LOG is enabled.

    noopLogger

    format?: any

    specify what build format is being used by your esbuild's build process. this is important to specify correctly, as we will need to manipulate the input and output contents of the long-build file(s) for the following reasons:

    • iife does not support top-level awaits, hence this mode requires us to wrap the logic inside an async function. furthermore, iife results in no variable exports; hence the bundled output will need to be changed so that it exports the resourceImports variable as an es6 module.
    • cjs does permit top-level awaits, but does not permit es6 exports. hence the need for additional manipulation of the output.
    • esm faces none of these issues, and it is the base format which we maipulate for the other scenarios.

    "esm"