ruffle/web/packages/core/src/config.ts

19 lines
478 B
TypeScript
Raw Normal View History

2020-11-17 21:01:56 +00:00
/**
* The configuration object to control Ruffle's behaviour on the website
* that it is included on.
*/
export interface Config {
/**
* A map of public paths from source name to URL.
*/
public_paths?: Record<string, string>;
/**
* The URL at which Ruffle can load its extra files (ie `.wasm`).
*
* [public_paths] is consulted first for a source-specific URL,
* with this field being a fallback.
*/
public_path?: string;
}