Releases: jahredhope/html-render-webpack-plugin
Releases · jahredhope/html-render-webpack-plugin
v2.0.3
v2.0.2
v2.0.1
v2.0.0
2.0.0 (2019-11-27)
Features
- Add just-in-time rendering, TypeScript support and improved API (203a21b)
BREAKING CHANGES
- Changes to webpackStats passed to mapStatsToParams and new plugin API. See MIGRATION_GUIDE_v1_to_v2.md for more information.
Features
- Add ability to create an Express Middleware to perform just-in-time rendering during development
- Add support for skipping rendering files at end of build
- Add support for transformExpressPath to much like transformFilePath
- Add support for manually calling renders with renderWhenReady
- Add TypeScript support
Changes
- Migrate to usage based naming.
htmlRenderPlugin.statsCollectorPlugin
for stat collection andrendererPlugin
for rendering. - Deprecate previous
render()
syntax - Rewrite in Typescript.
- Rewrite in functional syntax. Still uses Class syntax to reduce breaking changes.
- Remove deprecated multiCompiler apply capability
- Pass webpackStats through by default to render function
- Removed render build from being added to webpackStats by default. This is now an opt-in behaviour
- Removed verbose option. Migrated to debug for debug logging.