Of course any Shopware 6 specific code will be explained, don't worry about that.
main.js file inside a
src/Resources/app/administration/src directory in your plugin.
Thus, create a new file
main.js in the directory
<plugin root>/src/Resources/app/administration/src. That's it, this file will now be considered when building