I'm struggling to find the right documentation to handle this situation. Our Symfony "module" (or Bundle) is not on packagist and we rely on local composer repository paths for it. In this shared module, we have CSS and JS files that need to be included, including Bootstrap. The JS file "CoreLibrary.js" is imported using jQuery and Bootstrap.
However, including these dependencies in every .js file seems inefficient with encore. I recently had to troubleshoot a similar issue while configuring Yarn and Webpack Encore in Symfony 4.1 project.
What is the best approach for managing a company-shared module that requires third-party libraries like Bootstrap?