Expose run

This commit is contained in:
Jeroen Engels 2021-10-01 18:22:49 +02:00
parent f4e923fdab
commit ea0cb5ea78

View File

@ -32,7 +32,7 @@ Give me an Elm file, I'll compile it behind the scenes using Elm 0.19.1, and the
// .option('--replacements <dir>', 'Replace stuff')
.parse(process.argv);
async function run(options: {
export async function run(options: {
inputFilePath: string | undefined,
outputFilePath: string | null,
optimizeSpeed: boolean