Creates the js out folder if it does not exist
Defaults webpack config maker: receives the paths to the scripts entry file and the out folder and produces the final minified js dile
the path to the entry scripts file
the out path
the filename of the final js minified file
webpack configuration to be passed to webpack
Initiates the logic to produce the final js file with the scripts of the website.
Calls webpack after having created the name for the final file and having retrieved the configuration. Executed asynchronously without wait as this process can rpoceed separately from others. Logs done on its own when has finished.