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.13.0 to 2.14.0

5

CHANGELOG.md
Change History
==============
v2.14.0
----
* Export publicPath to the template
* Add example for inlining css and js
v2.13.0

@@ -5,0 +10,0 @@ ----

6

index.js

@@ -218,2 +218,3 @@ 'use strict';

var templateParams = {
compilation: compilation,
webpack: compilation.getStats().toJson(),

@@ -224,4 +225,3 @@ webpackConfig: compilation.options,

options: self.options
},
compilation: compilation
}
};

@@ -362,2 +362,4 @@ var html = '';

var assets = {
// The public path
publicPath: publicPath,
// Will contain all js & css files by chunk

@@ -364,0 +366,0 @@ chunks: {},

@@ -36,2 +36,3 @@ /* This loader renders the template with underscore if no other loader was found */

var templateVariables = [
'compilation',
'webpack',

@@ -38,0 +39,0 @@ 'webpackConfig',

{
"name": "html-webpack-plugin",
"version": "2.13.0",
"version": "2.14.0",
"description": "Simplifies creation of HTML files to serve your webpack bundles",

@@ -5,0 +5,0 @@ "main": "index.js",

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