Node uses module.exports / require, and ES6 export / import.
I tried using Webpack but didn't manage to make my different JS files working together. It is easy to set the bundle.js to have the minified code, but I didn't managed to have as inputs several JS files, and to link them together.
Can someone explain (I didn't find clear informations about it) how to use Webpack or Parceljs or another tool, to split a project into several JS files, link them together so they can use functions from others, and compile them together at the end?
I have already tried to use Webpack but my files were not linked together.
Expected: Understand how to set a professional project by splitting the JS files by classes/objects.