Skip to content

assetsPackage ​

Function of @v12-engine/client/vite

ts
export declare function assetsPackage(options?: AssetsPackageOptions): Plugin & {
    api: {
        files(): Promise<PackageFiles>;
    };
};

Serves @v12-engine/assets to a game while it is developed, and copies what it uses into a build. See the top of this file, and AssetsPackageOptions