From 42e8dfa651c79ad93603297ffdb9f10c33c47e91 Mon Sep 17 00:00:00 2001 From: Charles Blaxland Date: Wed, 13 Aug 2014 09:19:22 +1000 Subject: [PATCH] Add test case for handling subdirectories in the output path --- index.js | 1 - spec/HtmlWebpackPluginSpec.js | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 76d5ab0..b8b83a3 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,6 @@ HtmlWebpackPlugin.prototype.apply = function(compiler) { var self = this; compiler.plugin('done', function(stats) { var webpackStatsJson = stats.toJson(); - console.log(JSON.stringify(webpackStatsJson, null, 2)); var templateParams = {}; templateParams.webpack = webpackStatsJson; templateParams.htmlWebpackPlugin = self.htmlWebpackPluginJson(compiler, webpackStatsJson); diff --git a/spec/HtmlWebpackPluginSpec.js b/spec/HtmlWebpackPluginSpec.js index 4aec1b0..d978c5c 100644 --- a/spec/HtmlWebpackPluginSpec.js +++ b/spec/HtmlWebpackPluginSpec.js @@ -106,4 +106,28 @@ describe('HtmlWebpackPlugin', function() { }, ['