sb-edit
Version:
Import, edit, and export Scratch project files
23 lines (22 loc) • 643 B
TypeScript
import Project from "../../Project";
import * as prettier from "prettier";
export interface ToLeopardOptions {
leopardJSURL: string;
leopardCSSURL: string;
getTargetURL: (info: {
name: string;
from: "index" | "target";
}) => string;
getAssetURL: (info: {
type: "costume" | "sound";
target: string;
name: string;
md5: string;
ext: string;
}) => string;
indexURL: string;
autoplay: boolean;
}
export default function toLeopard(project: Project, inOptions?: Partial<ToLeopardOptions>, prettierConfig?: prettier.Options): {
[fileName: string]: string;
};