For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/rspeedy.entrydescription.md.
这是开发预览网站。请访问正式文档 lynxjs.org

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.