html-webpack-plugin
Advanced tools
Comparing version 2.8.1 to 2.8.2
@@ -383,3 +383,3 @@ 'use strict'; | ||
// We must proper handle such cases, so we use regexp testing here | ||
return /^.css($|\?)/.test(path.extname(chunkFile)); | ||
return /.css($|\?)/.test(chunkFile); | ||
}); | ||
@@ -386,0 +386,0 @@ assets.chunks[chunkName].css = css; |
@@ -12,3 +12,4 @@ /* This loader renders the template with underscore if no other loader was found */ | ||
var allLoadersButThisOne = this.loaders.filter(function (loader) { | ||
return loader.module !== module.exports; | ||
// Loader API changed from `loader.module` to `loader.normal` in Webpack 2. | ||
return (loader.module || loader.normal) !== module.exports; | ||
}); | ||
@@ -15,0 +16,0 @@ // This loader shouldn't kick in if there is any other loader |
{ | ||
"name": "html-webpack-plugin", | ||
"version": "2.8.1", | ||
"version": "2.8.2", | ||
"description": "Simplifies creation of HTML files to serve your webpack bundles", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -176,3 +176,3 @@ HTML Webpack Plugin | ||
The following variables are available in the: | ||
The following variables are available in the template: | ||
- `htmlWebpackPlugin`: data specific to this plugin | ||
@@ -179,0 +179,0 @@ - `htmlWebpackPlugin.files`: a massaged representation of the |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37904
688