diff --git a/package.json b/package.json index 492f9f80..b14ca17e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "author": "Tobias Koppers @sokra", "description": "html loader module for webpack", "dependencies": { - "html-minifier": "0.5.x", + "html-minifier": "^0.7.2", "source-map": "0.1.x", "fastparse": "^1.0.0", "loader-utils": "~0.2.2" diff --git a/test/loaderTest.js b/test/loaderTest.js index 104d11d6..74c0b166 100644 --- a/test/loaderTest.js +++ b/test/loaderTest.js @@ -38,7 +38,7 @@ describe("loader", function() { loader.call({ minimize: true }, '
{title}
\n\t
').should.be.eql(
- 'module.exports = "{title}
{title}