mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-25 21:02:33 +03:00
Generate fetchers for all the paths needed for build compilation.
This commit is contained in:
parent
2725e9bb00
commit
e07eb264f0
@ -52,7 +52,11 @@ async function generate(basePath) {
|
||||
fs.promises.writeFile("./.elm-pages/Route.elm", browserCode.routesModule),
|
||||
writeFetcherModules("./.elm-pages", browserCode.fetcherModules),
|
||||
writeFetcherModules(
|
||||
"./elm-stuff/elm-pages/.elm-pages/",
|
||||
"./elm-stuff/elm-pages/client/.elm-pages",
|
||||
browserCode.fetcherModules
|
||||
),
|
||||
writeFetcherModules(
|
||||
"./elm-stuff/elm-pages/.elm-pages",
|
||||
browserCode.fetcherModules
|
||||
),
|
||||
// write modified elm.json to elm-stuff/elm-pages/
|
||||
|
Loading…
Reference in New Issue
Block a user