Skip to content

Releases: spatools/grunt-html-build

Add suffix option and fix inconsistent EOL behavior

30 Mar 13:39
Compare
Choose a tag to compare
  • Fix EOL inconsistent issue.
  • Add suffix option to customize files query parameters (for cache).

Bug fixing

30 Mar 13:39
Compare
Choose a tag to compare
  • Fix broken external resources loading.

Add basePath option and optimize some code parts

30 Mar 13:38
Compare
Choose a tag to compare
  • Optimize some code parts.
  • Added option basePath allow keeping original folder structure.

Upgrade dependencies and grunt 1.0.0 compatibility

30 Mar 13:37
Compare
Choose a tag to compare
  • 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

18 Oct 16:23
Compare
Choose a tag to compare
  • 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

30 Mar 13:36
Compare
Choose a tag to compare
  • Fix issue in linefeed simplification

0.5.0

16 May 17:08
Compare
Choose a tag to compare
  • 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

19 Oct 16:03
Compare
Choose a tag to compare
0.3.1

Update package version and release history

Allow sub parameters in all block's configurations

08 Oct 17:13
Compare
Choose a tag to compare
  • 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

10 Sep 00:08
Compare
Choose a tag to compare
Upgrade package version and release history