Skip to content

v1.1.0

Choose a tag to compare

@voischev voischev released this 04 May 07:44
· 159 commits to master since this release
  • 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 })
  ]
}