html-webpack-plugin 5.3.1 → 5.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [5.3.2](https://github.com/jantimon/html-webpack-plugin/compare/v5.3.1...v5.3.2) (2021-06-22)
6
+
7
+ ### Bug Fixes
8
+
9
+ * update lodash and pretty error ([9c7fba0](https://github.com/jantimon/html-webpack-plugin/commit/9c7fba02d0aa7d9e804863a66eb896db3046f645)
10
+
5
11
  ### [5.3.1](https://github.com/jantimon/html-webpack-plugin/compare/v5.3.0...v5.3.1) (2021-03-09)
6
12
 
7
13
 
package/README.md CHANGED
@@ -89,13 +89,13 @@ The `html-webpack-plugin` provides [hooks](https://github.com/jantimon/html-webp
89
89
  * [webpack-nomodule-plugin](https://github.com/swimmadude66/webpack-nomodule-plugin) allows you to add a `nomodule` attribute to specific injected scripts, which prevents the scripts from being loaded by newer browsers. Good for limiting loads of polyfills.
90
90
  * [html-webpack-skip-assets-plugin](https://github.com/swimmadude66/html-webpack-skip-assets-plugin) Skip adding certain output files to the html file. Built as a drop-in replacement for [html-webpack-exclude-assets-plugin](https://www.npmjs.com/package/html-webpack-exclude-assets-plugin) and works with newer [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) versions
91
91
  * [html-webpack-inject-preload](https://github.com/principalstudio/html-webpack-inject-preload) allows to add preload links <link rel='preload'> anywhere you want.
92
-
92
+ * [inject-body-webpack-plugin](https://github.com/Jaid/inject-body-webpack-plugin) is a simple method of injecting a custom HTML string into the body.
93
93
 
94
94
 
95
95
  <h2 align="center">Usage</h2>
96
96
 
97
97
  The plugin will generate an HTML5 file for you that includes all your `webpack`
98
- bundles in the body using `script` tags. Just add the plugin to your `webpack`
98
+ bundles in the head using `script` tags. Just add the plugin to your `webpack`
99
99
  config as follows:
100
100
 
101
101
  **webpack.config.js**
@@ -122,9 +122,9 @@ This will generate a file `dist/index.html` containing the following
122
122
  <head>
123
123
  <meta charset="utf-8">
124
124
  <title>Webpack App</title>
125
+ <script defer src="index_bundle.js"></script>
125
126
  </head>
126
127
  <body>
127
- <script src="index_bundle.js"></script>
128
128
  </body>
129
129
  </html>
130
130
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-webpack-plugin",
3
- "version": "5.3.1",
3
+ "version": "5.3.2",
4
4
  "license": "MIT",
5
5
  "description": "Simplifies creation of HTML files to serve your webpack bundles",
6
6
  "author": "Jan Nicklas <j.nicklas@me.com> (https://github.com/jantimon)",
@@ -29,30 +29,30 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "11.13.9",
32
- "commitizen": "4.2.1",
32
+ "commitizen": "^4.2.4",
33
33
  "css-loader": "5.0.1",
34
34
  "cz-conventional-changelog": "2.1.0",
35
35
  "dir-compare": "1.7.2",
36
36
  "html-loader": "2.1.1",
37
37
  "jest": "26.5.3",
38
- "mini-css-extract-plugin": "1.0.0",
38
+ "mini-css-extract-plugin": "^1.6.0",
39
39
  "pug": "3.0.2",
40
40
  "pug-loader": "2.4.0",
41
41
  "raw-loader": "4.0.2",
42
42
  "rimraf": "2.6.3",
43
43
  "semistandard": "^13.0.1",
44
- "standard-version": "9.1.0",
44
+ "standard-version": "^9.3.0",
45
45
  "style-loader": "2.0.0",
46
46
  "typescript": "4.1.3",
47
47
  "webpack": "5.24.3",
48
- "webpack-recompilation-simulator": "3.2.0",
49
- "webpack-cli": "4.5.0"
48
+ "webpack-cli": "4.5.0",
49
+ "webpack-recompilation-simulator": "3.2.0"
50
50
  },
51
51
  "dependencies": {
52
52
  "@types/html-minifier-terser": "^5.0.0",
53
53
  "html-minifier-terser": "^5.0.1",
54
- "lodash": "^4.17.20",
55
- "pretty-error": "^2.1.1",
54
+ "lodash": "^4.17.21",
55
+ "pretty-error": "^3.0.4",
56
56
  "tapable": "^2.0.0"
57
57
  },
58
58
  "peerDependencies": {