Merge branch 'master' into generate-files

This commit is contained in:
Dillon Kearns 2020-01-08 15:07:30 -08:00
commit 2e8fbee58b
2 changed files with 10 additions and 1 deletions

View File

@ -190,3 +190,11 @@ I'm looking forward to exploring more possibilities for using static data in `el
* Programatically creating pages using the Static HTTP API
* Configurable image optimization (including producing multiple dimensions for `srcset`s) using a similar API
* Optimizing the page metadata that is included for each page (i.e. code splitting) by explicitly specifying what metadata the page depends on using an API similar to StaticHttp
## Getting started with StaticHttp
You can [take a look at this an end-to-end example app that uses the new `StaticHttp` library](https://github.com/dillonkearns/elm-pages/blob/master/examples/external-data/src/Main.elm) to get started.
Or just use the [`elm-pages-starter` repo](https://github.com/dillonkearns/elm-pages-starter) and start building something cool! Let me know your thoughts on Slack, I'd love to hear from you! Or continue the conversation on Twitter!
<Oembed url="https://twitter.com/dillontkearns/status/1214238507163471872" />

View File

@ -96,7 +96,8 @@ function run() {
debug: contents.debug,
manifestConfig: payload.manifest,
routesWithRequests: payload.pages,
filesToGenerate: payload.filesToGenerate
filesToGenerate: payload.filesToGenerate,
customPort: contents.customPort
});
}
} else {