Webpack compiles files introduced by index.html relative paths

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../js/aaa.js" type="text/javascript"></script>
</head>
<body>
    <div>
    </div>
</body>
</html>

as shown in the code above, I have an index.html, that introduces a js through a relative path in the head tag. The aaa.js file is not compiled when you run webpack.

is there any way for webpack to compile this aaa.js file, and after compilation, it can automatically replace the relative path of the file introduced in the index.html file to the compiled output path?

Feb.09,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c3bf-2c2f3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c3bf-2c2f3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?