interface BasicOptions {
    cacheDir?: string;
    cwd?: string;
    externals?: Record<string, any>;
}

Hierarchy (view full)

Properties

cacheDir?: string

Cache folder

缓存文件夹

Default

${cwd}/node_modules/.vite_external

cwd?: string

The current working directory in which to join cacheDir.

用于拼接 cacheDir 的路径。

Default

process.cwd()

externals?: Record<string, any>

External dependencies

配置外部依赖

Generated using TypeDoc