I would like to replace this part of code with some loop that will import all .js files from a specified directory (plugins in this example).
.js