mirror of
https://github.com/mdgriffith/elm-optimize-level-2.git
synced 2024-11-29 12:46:32 +03:00
Expose run
This commit is contained in:
parent
f4e923fdab
commit
ea0cb5ea78
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user