You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is no longer maintained. It does not support Webpack 5.
11
+
12
+
**A bit more detail**
13
+
Any look at the [project activity](https://github.com/numical/script-ext-html-webpack-plugin/pulse) will show that I have not been able to maintain this project adequately.
14
+
The advent of version 5 of Webpack requires another bout of refactoring that I simply have no time for.
15
+
Consequently v2.15.0 will be the last version of this plugin.
16
+
My thanks to all users, and especially to all contributors, of this plugin over the years.
17
+
My apologies to all those whose webpack 5 migration has been made more complicated by this decision.
18
+
19
+
**But I still want to use the plugin...**
20
+
Feel free!
21
+
My last update works with versions of v4.44.2 of webpack and v4.5.0 of html-webpack-plugin.
22
+
Forkers feel free! That's what the licence is for.
23
+
In fact, if you fork with an intention to support on-going development, let me know!
24
+
I'll happily link to your repository here and offer some tips (main one: ditch backward compatibility - it's a pain).
25
+
I will formally archive this repository at the end of the 2020.
Not that you will need v3.0.6+ or v4.x of [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin)
33
55
34
56
For those requiring earlier versions of node, please use the [last 1.x version](https://github.com/numical/script-ext-html-webpack-plugin/tree/v1.8.8) of this plugin. However please note this does not have webpack 4.x support:
You may see an `UNMET PEER DEPENDENCY` warnings for webpack and various plugins.
@@ -135,7 +157,7 @@ All scripts with 'important' in their name are sync and all others set to `defer
135
157
plugins: [
136
158
newHtmlWebpackPlugin(),
137
159
newScriptExtHtmlWebpackPlugin({
138
-
sync:'important'
160
+
sync:'important',
139
161
defaultAttribute:'defer'
140
162
})
141
163
]
@@ -184,7 +206,7 @@ plugins: [
184
206
test:/\.js$/,
185
207
attribute:'crossorigin',
186
208
value:'anonymous'
187
-
}
209
+
},
188
210
preload: {
189
211
test:/\.js$/
190
212
}
@@ -197,7 +219,7 @@ All asynchronous scripts are added as `preload` resource hints. All other scrip
197
219
plugins: [
198
220
newHtmlWebpackPlugin(),
199
221
newScriptExtHtmlWebpackPlugin({
200
-
async:/\.js$/
222
+
async:/\.js$/,
201
223
preload: {
202
224
test:/\.js$/,
203
225
chunks:'async'
@@ -311,6 +333,12 @@ Notes:
311
333
Change History
312
334
--------------
313
335
336
+
v2.1.5
337
+
* end of life version
338
+
* updated all dependencies
339
+
* fixes some tests to accomodate change in html-webpack-plugin output
340
+
* added end-of-life section to README.
341
+
314
342
v2.1.x
315
343
* support for changes in html-webpack-plugin 4.x since alpha and beta
316
344
* custom attributes now added to resource hints too (see [pull request 53](https://github.com/numical/script-ext-html-webpack-plugin/pull/53) for discussion)
0 commit comments