mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 06:05:31 +03:00
Wait for prerender trigger to pre-render pages.
This commit is contained in:
parent
572e3ccb6c
commit
6a6668cf8b
@ -61,7 +61,8 @@ function webpackOptions(routes) {
|
||||
// staticDir: "./dist",
|
||||
staticDir: path.join(process.cwd(), "dist"),
|
||||
// Required - Routes to render.
|
||||
routes: routes
|
||||
routes: routes,
|
||||
renderAfterDocumentEvent: "prerender-trigger"
|
||||
})
|
||||
],
|
||||
output: {
|
||||
|
Loading…
Reference in New Issue
Block a user