Releases: spatools/grunt-html-build
Releases · spatools/grunt-html-build
Add suffix option and fix inconsistent EOL behavior
Bug fixing
- Fix broken external resources loading.
Add basePath option and optimize some code parts
- Optimize some code parts.
- Added option
basePath
allow keeping original folder structure.
Upgrade dependencies and grunt 1.0.0 compatibility
- Add
keepTags
option to keep htmlbuild tags after build. - Fix broken inlining for scripts containing
$x
. - Upgrade
lodash
to v4 and fix template issue. - Ensure
grunt
v1.0.0 compatibility.
Fix relative issues and prepare for next node.js and grunt.js releases
- Fix issue in relative path management
- Remove deprecated undercore reference and replace by lodash dependency
- Fix deep array flattening for Node.JS >= 4
Fix EOL issue
- Fix issue in linefeed simplification
0.5.0
- Avoid javascript errors when parsing unknown tags.
- Add an
allowUnknownTags
option to ignore unknown tags without failing the task. - Allow to specify
attributes
on script and styles tags. - Allow http,https or // links to be processed as links.
- Automatically adapt generated
link
tag for less files.
Fix issue when using prefix on Windows environment
0.3.1 Update package version and release history
Allow sub parameters in all block's configurations
- Fix issue when building multiple html files using custom file globbing
- Allow sub parameters in all options paths
sections: {
products: {
vegetables: {
potatoes: 'potatoes.html',
tomatoes: 'tomatoes.html'
},
fruits: {
bananas: 'bananas.html',
apples: 'apples.html',
oranges: 'oranges.html'
}
},
},
Could be used in an html Template like this
<h2>Vegetables:</h2>
<div class="vegetables">
<!-- build:section products.vegetables -->
<!-- /build -->
</div>
<h2>Fruits:</h2>
<div class="fruits">
<!-- build:section products.fruits -->
<!-- /build -->
</div>
0.2.2: Fix issues in options.relative
Upgrade package version and release history