Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 643 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 643 Bytes

Generate html file from an custom template

You can use Html Webpack Plugin to generate html files.

If the default generated html doesn't meet your needs you can supply your own template.

Explain this example

Read template.html, template-utils.js and webpack.config.js.

Note

The template is by default rendered using lodash, do not confuse it with ejs (you can't use <%- include partial.html %> to include a partial).