Interface: EntryDescription
The EntryDescription describes a entry. It is useful when the project has multiple entries with different configuration.
Remarks
It is similar with the Entry Description Object of Rspack. But only a few properties that Lynx supports is allowed.
Properties
dependOn?
optionaldependOn?:string|string[]
The entry points that the current entry depends on. They must be loaded before this entry is loaded.
import?
optionalimport?:string|string[]
The path to the entry module(s).
Default Value
'./src/index.js'
publicPath?
optionalpublicPath?:string
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.
Default Value
See
https://webpack.js.org/configuration/output/#outputpublicpath