html-webpack-plugin
Advanced tools
Comparing version 2.13.0 to 2.14.0
Change History | ||
============== | ||
v2.14.0 | ||
---- | ||
* Export publicPath to the template | ||
* Add example for inlining css and js | ||
v2.13.0 | ||
@@ -5,0 +10,0 @@ ---- |
@@ -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", |
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
45021
739