Add a script at the end of HTML with HtmlWebpackPlugin
I have a React application with an index.html file in the public folder: <!DOCTYPE html> <html lang="ru-RU"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Test</title> <link rel="dx-theme" data-theme="generic.dark" href="/css/some.css" data-active="false"> <base href="/" /> </head> <body class="dx-viewport"> <div id="root"></div>…