Skip to content
Snippets Groups Projects
Verified Commit f93a1a4e authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed broken build

parent 348a55e7
No related branches found
No related tags found
No related merge requests found
Pipeline #9529 passed with stages
in 1 minute and 57 seconds
......@@ -31,12 +31,15 @@ module.exports = {
return {
plugins: [
new PrerenderSPAPlugin(
// Absolute path to compiled SPA
path.resolve(__dirname, "dist"),
// List of routes to prerender
finalRoutes,
{
// options
routes: finalRoutes,
staticDir: path.resolve(__dirname, "dist"),
renderer: new PrerenderSPAPlugin.PuppeteerRenderer({
inject: {},
maxConcurrentRoutes: 16,
// for debugging
// headless: false,
})
}
)
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment