> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# 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](https://rspack.rs/config/entry#entry-description-object) of Rspack.
But only a few properties that Lynx supports is allowed.

## Properties

### dependOn?

> `optional` **dependOn?**: `string` | `string`\[]

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

***

### import?

> `optional` **import?**: `string` | `string`\[]

The path to the entry module(s).

#### Default Value

`'./src/index.js'`

***

### publicPath?

> `optional` **publicPath?**: `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

```ts
undefined
```

#### See

[https://webpack.js.org/configuration/output/#outputpublicpath](https://webpack.js.org/configuration/output/#outputpublicpath)
