KC's Workspace
    Preparing search index...

    Either a name or a fileName can be supplied. If a fileName is provided, it will be used unmodified as the name of the generated file, throwing an error if this causes a conflict. Otherwise, if a name is supplied, this will be used as substitution for [name] in the corresponding output.chunkFileNames pattern, possibly adding a unique number to the end of the file name to avoid conflicts. If neither a name nor fileName is supplied, a default name will be used.

    interface EmittedChunk {
        fileName?: string;
        id: string;
        importer?: string;
        name?: string;
        preserveSignature?: false | "strict" | "allow-extension" | "exports-only";
        type: "chunk";
    }
    Index

    Properties

    fileName?: string
    id: string

    The module id of the entry point of the chunk.

    It will be passed through build hooks just like regular entry points, starting with resolveId.

    importer?: string

    The value to be passed to resolveId's importer parameter when resolving the entry point. This is important to properly resolve relative paths. If it is not provided, paths will be resolved relative to the current working directory.

    name?: string
    preserveSignature?: false | "strict" | "allow-extension" | "exports-only"

    When provided, this will override preserveEntrySignatures for this particular chunk.

    type: "chunk"