rollup-plugin-playcanvas-uploader
Version:
A lightweight Rollup plugin to automatically upload your bundles to PlayCanvas.
17 lines (14 loc) • 318 B
TypeScript
import { Plugin } from 'rollup';
interface Options {
projectId: number;
branchId: string;
accessToken: string;
files: FileInfo[];
}
interface FileInfo {
path: string;
assetId: number;
}
declare function upload(options: Options): Plugin;
export { upload as default };
export type { Options };