It is not recommended to develop projects this way. But here is a solution I used to import files that I downloaded locally into the project.
I put in my statics folder my js files, and imported it into template.html
0e93f0d8-7507-4a67-8d6b-15b2a830a8a5-image.png
3026c388-dbfa-439d-87d6-9f99c7b3dc75-image.png
this way the webpack can solve the “statics” directory for me automatically