npm posthtml-include 1.1.0
v1.1.0

latest releases: 2.0.1, 2.0.0, 1.7.4...
7 years ago
  • 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 })
  ]
}

Don't miss a new posthtml-include release

NewReleases is sending notifications on new releases.