mdgriffith / elm-optimize-level-2

BSD 3-Clause "New" or "Revised" License
128 stars 14 forks source link

Cannot pass multiple input files #114

Open bdukes opened 1 year ago

bdukes commented 1 year ago

With the main elm executable, I can run elm make src/Main.elm src/Main2.elm --output dist/out.js and it'll compile both modules. However, elm-optimize-level-2 src/Main.elm src/Main2.elm --output dist/out.js will only compile the first (in fact, compilation errors in the second module will be ignored altogether). Is this feature intended to be supported?