elm-pages-v3-beta/generator/src/elm-file-constants.js
2023-01-22 09:33:32 -08:00

18 lines
295 B
JavaScript

export function elmPagesUiFile() {
return `module Pages exposing (builtAt)
import Time
import Json.Decode
import Json.Encode
builtAt : Time.Posix
builtAt =
Time.millisToPosix ${Math.round(global.builtAt.getTime())}
`;
}
export function elmPagesCliFile() {
return elmPagesUiFile();
}