Skip to content

czyin/prerender-multi-page-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspired by prerender-spa-plugin, but prerenders static HTML in multi-page application.

Usage

// webpack.conf.js
const path = require('path')
const PrerenderMultiPagePlugin = require('prerender-multi-page-plugin')

module.exports = {
 // ...
 plugins: [
   new PrerenderMultiPagePlugin(
     path.join(__dirname, '../dist'), [ '/index.html', '/about.html', '/help.html' ]
   )
 ]
}

Releases

No releases published

Packages

No packages published