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
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.