I am currently working on a project that involves multiple JavaScript files stored in various folders. My goal is to combine them all into a master.js file. The project structure looks like this:
/dist/js/master.js <-- Output file
/src/bootstrap-untouched/js <-- Bootstrap Plugins (alert.js, button.js etc.)
/src/js/plugins.js
/src/js/script.js
My main requirement is to have the ability to activate and deactivate specific bootstrap plugins individually. I am not interested in using Grunt or Gulp for this task, but rather relying solely on NPM. I believe that a solution involving browserify and uglifyjs could potentially meet my needs.