For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/rspeedy/rspeedy.entrydescription.md.
Rspeedy logo
Rspeedy
  • 简体中文
  • 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.

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。