In best practice tutorials, it’s always suggested to use bootstrap, fontawesome installing via npm or yarn. OK, I know how to manage webpack, no problem.
But the problem is, how to ship the product to the customer? Possibilities:
npm install before packaging and ship product with huge node_modules folder. This would cause a huge file. Will it really worth?
Leaving npm install to the client. I don’t feel comfortable with this, client will know nothing; most probably.
Not following best practices. I can simply include “bootstrap.min.css” directly from assets folder and have no node_modules inside the package…
Third one would be great for me, but not sure if reviewers see this as a technical problem.
I suggest moderation to set a list of rules for PHP/MVC frameworks; as you did in Wordpress.