Sort routes for elm-codegen generator flag.

This commit is contained in:
Dillon Kearns 2022-09-12 12:16:35 -07:00
parent 3f12c6ccb5
commit 7df5986d80

View File

@ -38,7 +38,7 @@ async function generateTemplateModuleConnector(basePath, phase) {
],
};
}
const routesModuleNew = await runElmCodegenCli(templates);
const routesModuleNew = await runElmCodegenCli(sortTemplates(templates));
return {
mainModule: `port module Main exposing (..)