diff --git a/index.js b/index.js index 5d6d28d0..31d086ab 100644 --- a/index.js +++ b/index.js @@ -719,7 +719,6 @@ function trainCaseToCamelCase (word) { function templateParametersGenerator (compilation, assets, options) { return { compilation: compilation, - webpack: compilation.getStats().toJson(), webpackConfig: compilation.options, htmlWebpackPlugin: { files: assets, diff --git a/spec/BasicSpec.js b/spec/BasicSpec.js index 20949fb5..27335deb 100644 --- a/spec/BasicSpec.js +++ b/spec/BasicSpec.js @@ -1590,7 +1590,7 @@ describe('HtmlWebpackPlugin', function () { inject: false }) ] - }, ['templateParams keys: "compilation,webpack,webpackConfig,htmlWebpackPlugin"'], null, done); + }, ['templateParams keys: "compilation,webpackConfig,htmlWebpackPlugin"'], null, done); }); it('should allow to disable template parameters', function (done) {