Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

v3.5.0

Compare
Choose a tag to compare
@mmiller42 mmiller42 released this 16 Sep 01:33
· 33 commits to master since this release

What's New in v3.5.0

This is a summary of the differences between v3.5.0 and v3.4.0.

Commits

Show commits
SHA Author Message
75d8388 greenkeeper[bot] fix(package): update html-webpack-include-assets-plugin to version 0.0.8
31031ff mmiller42 Fix compatibility bug
8bc4e6b mmiller42 Compat fix 2
f8a135a mmiller42 Updating package and lockfile
3ab6c3d mmiller42 Merge pull request #19 from mmiller42/greenkeeper/html-webpack-include-assets-plugin-0.0.8
Update html-webpack-include-assets-plugin to the latest version 🚀
c0abdbc mmiller42 3.5.0

Changed files

package-lock.json

Inline diff not displayed. View the whole file

package.json

Show changes
@@ -1,7 +1,8 @@
 {
   "name": "html-webpack-externals-plugin",
-  "version": "3.4.0",
-  "description": "Webpack plugin that works alongside html-webpack-plugin to use pre-packaged vendor bundles.",
+  "version": "3.5.0",
+  "description":
+    "Webpack plugin that works alongside html-webpack-plugin to use pre-packaged vendor bundles.",
   "keywords": ["htmlwebpackplugin", "webpack", "html", "externals"],
   "main": "lib/index.js",
   "scripts": {
@@ -28,7 +29,8 @@
   "bugs": {
     "url": "https://github.com/mmiller42/html-webpack-externals-plugin/issues"
   },
-  "homepage": "https://github.com/mmiller42/html-webpack-externals-plugin#readme",
+  "homepage":
+    "https://github.com/mmiller42/html-webpack-externals-plugin#readme",
   "devDependencies": {
     "assertion-error": "^1.0.2",
     "babel-cli": "^6.24.1",
@@ -57,6 +59,6 @@
   "dependencies": {
     "ajv": "^5.2.2",
     "copy-webpack-plugin": "^4.0.1",
-    "html-webpack-include-assets-plugin": "0.0.7"
+    "html-webpack-include-assets-plugin": "0.0.8"
   }
 }

src/HtmlWebpackExternalsPlugin.js

Show changes
@@ -39,7 +39,7 @@ export default class HtmlWebpackExternalsPlugin {
 
       const entries = (Array.isArray(entry) ? entry : [entry]).map(entry => {
         if (typeof entry === 'string') {
-          entry = { path: entry, type: null }
+          entry = { path: entry, type: undefined }
         }
         if (HtmlWebpackExternalsPlugin.URL_ENTRY.test(entry.path)) {
           return entry
@@ -115,7 +115,7 @@ export default class HtmlWebpackExternalsPlugin {
             ),
             append,
             hash: this.hash,
-            files: this.files,
+            files: this.files == null ? undefined : this.files,
             publicPath: '',
           })
         )