1.0.5 • Published 2 years ago
ejs-prerender-webpack-plugin v1.0.5
ejs-prerender-webpack-plugin
Basis
This webpack plugin is based on the ejs-prerender package. See that for more information on configuration options and goals.
Usage
If using default options, simply add the plugin instance to your webpack config's plugins array.
module.exports = {
plugins: [
new EjsPrerenderWebpackPlugin(),
],
};
The following options can be passed into the plugin using an options object:
{
baseDir: process.cwd(), // Base directory to resolve relative paths from
componentsDir: 'components', // Directory to use for partials
pagesDir: 'pages', // Directory to use for page structure
}
For an example of the plugin being used, look at the ejs-starter repository.
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.1.0-alpha.2
4 years ago
0.1.0-alpha.1
4 years ago
0.1.0-alpha.0
4 years ago