# SeedcordDevConfig

`interface` in `seedcord` · v0.18.2

<https://docs.seedcord.org/packages/seedcord/0.18.2/interfaces/seedcord-dev-config>

Configuration used by the Seedcord CLI when running `seedcord dev` or `seedcord build`.

```ts
interface SeedcordDevConfig
```

## Properties

### build

```ts
build: SeedcordBuildConfig;
```

Optional build configuration overrides.

### entry

```ts
entry: string;
```

Entry file that should be executed when starting the bot (and copied into the build output).

### hmr

```ts
hmr: SeedcordHmrConfig;
```

Optional HMR configuration.

### idleAnimation

```ts
idleAnimation: boolean;
```

Runs any always-on animations in `seedcord dev`.

### instance

```ts
instance: string;
```

Path to the module whose default export is a configured Seedcord instance.

### root

```ts
root: string;
```

Root directory used for resolving relative paths.

### tunnel

```ts
tunnel: boolean | string;
```

How `seedcord dev` exposes an http bot's interactions server. This has no effect on a gateway bot.

`true` opens a cloudflared quick tunnel and writes the interactions endpoint on every run, since the hostname changes each time. An https URL is one you already serve, through a named cloudflared tunnel, a tailscale funnel, or any reverse proxy. The CLI checks that URL reaches this process, writes the endpoint when the stored value differs, and leaves it in place.
