I have an old project and I cannot use ES6 syntax because I don't know how to implement Babel or Webpack to transpile ES6 to ES5.
All the js modules are executed in a main.php file like this:
<script language="JavaScript" type="text/javascript" src="<?php echo $documentroot;?>
MAIN.js?v=<?php echo $jsVersion;?>">
</script>
How can I configure Babel to work with this old setup? the website uses jQuery. in the Babel setup page it assumes to use npm, but the project do not use node or npm, only pure php and jQuery.
Webpack also requires as prerequisite Node.js in the installation guide