UNPKG

webos-webpack-plugin

Version:

Webpack plugin to make WebOS Basic App packaging easier

21 lines (16 loc) 445 B
import { schema } from "./schema"; import { Infer } from "./utility-types"; export type AppInfo = Infer<typeof schema>["appInfo"]; type WebOSAsset = string; export type AppInfoAssets = { icon: WebOSAsset; } & OptionalAppInfoAssets; export type OptionalAppInfoAssets = { largeIcon?: WebOSAsset; splashBackground?: WebOSAsset; }; export type Options = { appInfo: AppInfo; outputFile?: string; preserveSrc?: boolean; };