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') // .option('--replacements <dir>', 'Replace stuff')
.parse(process.argv); .parse(process.argv);
async function run(options: { export async function run(options: {
inputFilePath: string | undefined, inputFilePath: string | undefined,
outputFilePath: string | null, outputFilePath: string | null,
optimizeSpeed: boolean optimizeSpeed: boolean