-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
html-webpack-plugin creates an html output bundle by receiving a lodash template file and injects those selected bundles and chunks we need to make that html render a content dynamically.
We can follow two strategies in order to produce the output:
Write down a plugin instance for each output page, or map "plugins" array to a configuration, which could be written in code or read from file system
Resources
- https://github.com/jantimon/html-webpack-plugin
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
- https://dev.to/pldg/build-a-simple-static-site-generator-with-webpack-5a29
- https://github.com/pldg/learn-webpack/tree/master/static-site-generator
- Multiple entry points -> multiple html outputs? jantimon/html-webpack-plugin#218 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels