All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- Feat: make webpack compilation hash value available to templates.
- Changed: drop support
node@4
.
- Fixed: support
webpack@4
.
- Feature: adds ability to pass
configure
asnunjucks.Environment
. - Fixed: all errors are sent into
compilation.errors
now. - Fixed: use
fs-extra
to output file whenwriteToFileEmit: true
. - Changed: rename option from
writeToFileWhenMemoryFs
towriteToFileEmit
. - Changed: all
templates
now always emitted in webpack assets. - Changed: rename options from
template
totemplates
. - Changed: option
templates
should be always array. - Removed:
webpack@1
support. - Refactor: simplify code.
- Chore: support
webpack
v3. - Changed: minimum required
nodejs
version is now4.3
- Fixed: now templates is written at the first start in
watch
.
- Fixed: don't write templates in memory filesystem when they writes on disk.
- Added: support
writeToFileWhenMemoryFs
option for each template. - Changed:
writeToFileWhenMemoryFs
default false. - Fixed: option
writeToFileWhenMemoryFs
now works right. - Fixed: memory leak in watch mode.
- Fixed: rendered templates don't overwrite if not changed source.
- Initial public release.