- Fixed resolving of inline partials and partial blocks with failover content (#106, #135)
- Added
ignoreHelpersoption to skip automatic lookup/bundling of helpers - Added
precompileOptionsto pass options to handlebars precompile
- Added
helperResolverconfig option to override the default helper resolution
- Fixed webpack deprecation warnings
- Fixed resolving relative helpers on first pass when helper directories are given
- Added
ignorePartialsoption to skip automatic lookup/bundling of partials - Added
compatoption to enable Mustache lookup compatibility. - Added
configoption to query so that configs can be specified in webpack config object or the loader query. Defaults tohandlebarsLoader - Added
partialResolverconfig option to override the default partial resolution
- Previously, if a partial name began with an
@, it was ignored and treated as an internal to handlebars partial. Now that checks specifically for partials named@partial-blockso that{{> @a/b/c.hbs }}is a valid partial reference
- New
partialDirsquery option allows specifying additional directories to be searched for partials. Thank you @lostthetrail. - New
preventIndentquery option to avoid nested partials adding whitespace totextareaandpreelements.
- Helpers can now use ECMAScript 6 export syntax and have their default export used. Thank you @kt0.
- New
excludequery option lets you prevent helpers from being resolved to modules in specified directories (such asnode_modules). Thank you @ericmatthys.
See keepachangelog.com for how to update this file.