Skip to content

Releases: posthtml/posthtml-include

v1.5.0

12 Oct 07:50
Compare
Choose a tag to compare

Feat

  • feat: allow pass locals as inner text a287b96

v1.4.3...v1.5.0

v1.1.0

04 May 07:44
Compare
Choose a tag to compare
  • addDependencyTo option

An object with addDependency() method, taking file path as an argument. Called whenever a file is included. Default null. You can use it for hot-reloading in webpack posthtml-loader like this:

posthtml: function(webpack) {
  return [
    require('posthtml-include')({ addDependencyTo: webpack })
  ]
}

v1.0.2

01 Feb 12:34
Compare
Choose a tag to compare

small fixes

v1.0.1

03 Nov 20:00
Compare
Choose a tag to compare

Add root path to options