Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

html-webpack-plugin

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-webpack-plugin - npm Package Compare versions

Comparing version 2.8.1 to 2.8.2

2

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc