AssetsPackageOptions beta
Interface of @v12-engine/client/vite
ts
export interface AssetsPackageOptionsWhat a game takes of @v12-engine/assets, and what its build copies (assetsPackage)
Members
copy
ts
copy?: 'used' | 'all' | ((file: PackageFile) => boolean);What a build copies into the page's files: what the game's code and maps name (used, when left out), every file of the groups (all), or what a function says yes to
groups
ts
groups?: string[];The groups a game takes, by id (['forest', 'rts']): all of the package's when left out
manifest
ts
manifest?: string;The package's manifest.json, for a package found elsewhere: found from the project when left out
search
ts
search?: string[];The folders searched for what the game uses, from the project's root: src and public when left out