Skip to content

Commit

Permalink
Update libraries for nodejs
Browse files Browse the repository at this point in the history
Adjust webpack.prod.js for new versions's parameters
  • Loading branch information
luc-github committed Oct 4, 2023
1 parent e3d91a8 commit 97d590b
Show file tree
Hide file tree
Showing 6 changed files with 4,495 additions and 5,146 deletions.
7 changes: 5 additions & 2 deletions embedded/config/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)$/,
Expand Down
Loading

0 comments on commit 97d590b

Please sign in to comment.