Skip to content

Precompiled

type Precompiled =
    {
        CompilerVersion: string
        Files: (string * string * string) list
        InlineExprHeaders: string list
        InlineExprChunks: string list
    }
AssemblyNacara.Plugin.LiveExample

What the build knows about a precompiled library, for the browser to be told.

Fields

CompilerVersion: string

The Fable that wrote it. The worker refuses one written by a different Fable.

Files: (string * string * string) list

For each source file: what Fable matches it on, its module, and where its code went.

InlineExprHeaders: string list

The first member in each chunk below, which is how the compiler finds the chunk a name is in. Empty when the library has no inline members.

InlineExprChunks: string list

The bodies of those members, in the order the headers name them. F# keeps an inline body out of the assembly, so without these a snippet calling one does not compile.