For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/rspeedy/rspeedy.entrydescription.md.
Rspeedy logo
Rspeedy
  • English
  • Home > @lynx-js/rspeedy > EntryDescription

    EntryDescription interface

    The EntryDescription describes a entry. It is useful when the project has multiple entries with different configuration.

    Signature:

    export interface EntryDescription 

    Remarks

    It is similar with the Entry Description Object of Rspack. But only a few properties that Lynx supports is allowed.

    Properties

    Property

    Modifiers

    Type

    Description

    dependOn?

    string | string[] | undefined

    (Optional) The entry points that the current entry depends on. They must be loaded before this entry is loaded.

    import?

    string | string[] | undefined

    (Optional) The path to the entry module(s).

    publicPath?

    string | undefined

    (Optional) This is an important option when using on-demand-loading or loading external resources like images, files, etc. If an incorrect value is specified you'll receive 404 errors while loading these resources.

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.