mirror of
https://github.com/luc-github/ESP3D.git
synced 2025-10-31 11:56:48 -07:00
Update libraries for nodejs
Adjust webpack.prod.js with new versions's parameters
This commit is contained in:
@@ -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)$/,
|
||||
|
||||
Reference in New Issue
Block a user