electron-webpack
Version:
> Because setting up `webpack` in the `electron` environment shouldn't be difficult.
25 lines (24 loc) • 519 B
TypeScript
import { Lazy } from "lazy-val";
interface Context {
projectDir: string;
packageMetadata: Lazy<{
[key: string]: any;
} | null> | null;
}
export default function (context: Context): Promise<{
extraMetadata: {
main: string;
};
files: ({
from: string;
filter: string[];
} | {
from: string;
filter?: undefined;
})[];
extraResources: {
from: string | null | undefined;
to: string | null | undefined;
}[];
}>;
export {};