Update libraries for nodejs

Adjust webpack.prod.js with new versions's parameters
This commit is contained in:
Luc
2023-10-04 15:17:14 +08:00
parent ff5e04627c
commit 606cc3f0ff
10 changed files with 5384 additions and 6003 deletions

View File

@@ -55,10 +55,13 @@ module.exports = {
new HtmlWebpackPlugin({
template: path.join(__dirname, "../src/index.html"),
inlineSource: ".(js|css)$",
inject: true,
inject: "body",
}),
new HtmlInlineScriptPlugin([/\.(js)$/]),
new HtmlInlineScriptPlugin({
scriptMatchPattern: [/.+[.]js$/],
htmlMatchPattern: [/index.html$/],
}),
new HTMLInlineCSSWebpackPlugin(),
new Compression({
test: /\.(html)$/,