Skip to content

@eodash/eodash / CLI / EodashConfig

Interface: EodashConfig ​

Eodash CLI configuration

Properties ​

base? ​

Base public path

ts
base?: string;

cacheDir? ​

Cache folder

ts
cacheDir?: string;

dev? ​

ts
dev?: object;

host? ​

ts
host?: string | boolean;

open? ​

Open default browser when the server starts

ts
open?: boolean;

port? ​

Serving port

ts
port?: string | number;

entryPoint? ​

Specifies main entry file, exporting createEodash

ts
entryPoint?: string | false;

lib? ​

Builds eodash as a web component library

ts
lib?: boolean;

outDir? ​

Build target folder path

ts
outDir?: string;

preview? ​

ts
preview?: object;

host? ​

ts
host?: string | boolean;

open? ​

Open default browser when the server starts

ts
open?: boolean;

port? ​

Serving port

ts
port?: string | number;

publicDir? ​

Path to statically served assets folder, can be set to false to disable serving assets statically

ts
publicDir?: string | false;

runtime? ​

File exporting eodash client runtime config

ts
runtime?: string;

vite? ​

User Config that is merged to eodash Vite Config

ts
vite?: Omit<UserConfig, "root">;

widgets? ​

Set a custom path for importing user defined internal widgets

ts
widgets?: string;